Tuesday, August 30, 2016

Missing menu items on BCC


Recently I faced a problem where my bcc menu was incomplete, so I checked that I had the correct roles on my user, so it was not an issue with roles being missing. searching on the web I have found this:
ATG Merchandising menu not appearing in BCC

Is a not answered question, however it should be answered question:

The post Says:

Please validate you have configured your publishing instance as PES in atg/epub/workflow/process/workflowProcessManager.xml



And that is what I did, and the hostname was corret along with my drp port.

The problem was, that I was using an alias for the box as the hostname, and BCC does not like that, so even thoguth that the hostname and the port were correct for me, were not, I needed to use the acutal name on the server not the logical/alias name that I had for it.

Here is what I am talking about

The server name was: uat01-atg.mycompany.com
The alias I had was: myapp-uat01.mycompany.com

The code ended up to be as follows:


The right way to do it is use the actual servername or the IP address, not the alias/logical name given to it.

That was the fix, special Thanks to Andres that found that this was the probelm.

To Find out what is the drp port you can go to on your BCC/PES instance:

/atg/dynamo/Configuration/?propertyName=drpPort


Friday, August 26, 2016

Get ProjectId inside BCC with a tamperMonkey/greaseMonkey Script

When you are doing trouble shoot on BCC, you need to know the projectId of the project you are working on, that is easy to get, just inspect the anchor for the project and the projectId will be there present as a parameter, or query the DB to get the projectId by name.

Since is something is always need, I have made this script, that will hightlight the projectId for you.

The output is as follows:


In order to install this, you need to have tamperMonkey for Chrome or greaseMonkey for FireFox.

just add the following Script: https://github.com/obedmhg/blogstuff/raw/master/atgstuff/showProjectId.user.js and that's it

I hope you find this helpufull, and save you a some time :)