Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Renaming related entity display name at runtime

1 view
Skip to first unread message

SiboG

unread,
Aug 30, 2010, 9:41:03 AM8/30/10
to
I would like to rename a related entity display name at runtime - I think it
should be possible (e.g. open an Account record - change the wording of the
'Contacts' to 'Customers' in the left navigation pane area.) I know this is
possible via the Contact entity definition but I want to control it depending
on the type of Account that is opened. I can therefore put the code in the
onload of the Account record.
I know how to change the 'New Contact' and 'Add Existing Contact' buttons
within the list of related records but not the display name in the navigation
pane area - does anyone know how to do this?

Second; If I publish a custom entity and display it in the workplace area,
is there any way to change the display name of the entity there via jscript?
I assume this isn't possible as there is nowhere to attach the code. Can
anyone confirm?

Thanks,
Simon

StigH

unread,
Aug 31, 2010, 5:58:40 AM8/31/10
to

Hi Simon

I am very sure that changing the name at runtime is possible. I
haven't had that exact requirement, but have a look at this post by
Jim Wang. He is modifying the innerhtml of the activities and history
to show how many activites are in each.
With a few modifications this example should be able to do the trick
for you.

Best Regards
StigH

Dave

unread,
Aug 31, 2010, 10:41:58 AM8/31/10
to

Simon,
If this isn't an urgent requirement, you might want to wait for CRM
2011. From the demo at the WPC conference, I saw a partner modify the
left nav bar labels based on data... pretty slick... HTH,
Dave

StigH

unread,
Sep 1, 2010, 2:16:40 AM9/1/10
to
> StigH- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -

Sorry I think I forgot the link: http://jianwang.blogspot.com/2008/02/show-how-many-activitieshistory.html

0 new messages