Jeff,
I know this is a very old post but I'm hoping you'll still be able to respond. I created a custom Company Summary screen and I'm trying to add the Maintain Relationship button and the Customer Maintenance button to the screen. I tried using the suggestions on this post and put the following in my script and then added the button to the screen.
var strMainRelButton = eWare.Button("Maintain Relationship","maintainrelationship.gif", eWare.Url("MaintainRelationship"));
However, when I click the button, it tries to find a CustomPages file so, naturally, it throws a "404 - File or directory not found." error. It also doesn't seem to be resolving the .gif either because it just has a default icon, but that's the least of my concerns right now. I have had success adding other buttons to the screen successfully such as the New Task where I used:
var strNewTaskButton = eWare.Button("newtask","newtask.gif", eWare.Url(361));
Unfortunately, I don't know the codes for the buttons I'm trying to add so I was excited to find this post which gave the alternative. But, my excitement was quickly squashed. I have spent days searching the Internet but can't find anything helpful.
Any ideas why I cannot get this to work? This is on Sage CRM 7.2.b
Thanks,
Dennis