Skip to main content

ATG CA - BCC home screen : how to add a new link


          Activity source is the property which controls the links on the left nav on the BCC home screen. All activity sources are registered with the ActivityManager component at /atg/bizui/activity/ActivityManager. When rendering the BCC home page, the ActivityManager cycles through all the registered ActivitySource components and displays left navigation links for each of them on the BCC home page.

For example if I want to add a new link "My New Link" , below screen shots exaplins how this can be done

1. Add  activityManager.properties to specify the activityresources. In this  activityManager, I specified one MyActivitySource.


2. Add  MyActivitySource.properties  to specify the name of the link and the other details . Here it refers to a bundle properties file.


 3. Add  the bundle properties file  to specify the name of the link.


 4. Now you could see the new link @ BCC home page .



Each activity source has the following important functions:
  • Specifies the links on the left nav used for browsing repositories (via a genericActivities.xml file)
  • Specifies the links on the left nav used for creating a project to create and/or edit assets (via a workflowActivities.xml file)
  • Destination page to go to after the project has been created in step (2)

Comments

  1. Great info.. But i need to do an BCC Installation first in my machine.. Do you have any documents around it?

    ReplyDelete
  2. hi sony,nice information,want to know is it possible to create a link and navigate to some other websites outside the bcc ? eg : for some onilne help for bcc users

    ReplyDelete
  3. Hello Sony,

    This info is very useful However, can you also tell me how to give an action to that link. Eg: I want to create a newlink with the name change password and on-click, i want the navigation to changepassword.jsp Please help!

    ReplyDelete
  4. can be register multiple activityResources in activityManager. for eg.
    activitySources+=somevalue,otherValu

    ReplyDelete
  5. can be register multiple activityResources in activityManager. for eg.
    activitySources+=somevalue,otherValu

    ReplyDelete

Post a Comment

Popular posts from this blog

Google Chrome shortcut keys

If you are a Google Chromey guy, please find below the list of shortcut keys for some of the most used features  :-) Find more shortcut keys @  http://www.google.com/support/chrome/bin/static.py?page=guide.cs&guide=25799&topic=28650

Eclipse plug-in to create Class and Sequence diagrams

ModelGoon is an Eclipse plug-in avaiable for UML diagram generation from Java code. It can be used to generate Package Dependencies Diagram, Class Diagram, Interaction Diagram and Sequence Diagram. You coud get it from http://marketplace.eclipse.org/content/modelgoon-uml4java Read more about it and see some vedios about how to create the class and sequence diagram @ http://www.modelgoon.org/?tag=eclipse-plugin Find some snapshots below which gives an idea about the diagram generation.

ATG : Oracle started new discussion forum for ATG

Oracle has started a new ATG discussion forum on oracle discussion forums.  It has a main ATG section and is divided into technical and business categories. You can access the url   http://forums.oracle.com/forums/category.jspa?categoryID=503 .  After Oracle acquired ATG, this was much expected and we can hope this forum might give us a better chance to discuss our ATG doubts and more people will come and discuss about ATG. Find the ATG docs @   http://www.oracle.com/technetwork/indexes/documentation/atgwebcommerce-393465.html

ATG CA - different activity sources used @ BCC

Read about how a new link can be added in BCC home page @  http://tips4ufromsony.blogspot.com/2012/03/atg-ca-bcc-home-screen-how-to-add-new.html Normally an ActivitySource.properties file define the set of actions that it supports under a genericActivityDefinitionFile. But some ActivitySource.properties  define the actions  using the workflowActivityDefinitionFiles. For example consider the default "Content Administration" ,  "SearchAdministration",  " Merchanding "  and "Personalization" options in BCC homepage. Below I listed the ActivitySource.properties and other properties for these links. To get all these activitysource names, just take the / atg/bizui/activity/ActivityManager  component @ dyn/admin. Content Administration ActivitySource  --> /atg/bizui/activity/PublishingActivitySource genericActivityDefinitionFile Search Administration ActivitySource  --> /atg/bizui/...

Lucene, sample JAVA code to Search an indexed file folder

Please find below the Lucene sample JAVA code to search the files inside a folder. This code will search the indexed folder for a search query in an indexed field. This java code is expecting the index path ( where the index files were created ) , field which need to be searched and the query need be searched as program arguments like  "java SearchFiles [-index dir] [-field f] [-query string]" . import java.io.File; import java.util.ArrayList; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.document.Document; import org.apache.lucene.queryParser.QueryParser; import org.apache.lucene.search.IndexSearcher; import org.apache.lucene.search.Query; import org.apache.lucene.search.ScoreDoc; import org.apache.lucene.search.TopDocs; import org.apache.lucene.store.FSDirectory; import org.apache.lucene.util.Version; public class SearchFiles { public static void main(Stri...