Tech Support > Microsoft Windows > Windows CRM > Hide Navigation bar entry when an associated record does not exist
Hide Navigation bar entry when an associated record does not exist
Posted by Jamie on May 6th, 2008


I have the following code to hide a navigation bar entry.
document.getElementById("navSubConts").style.displ ay = "none";
This code works very well. But want I need to do is hide a navigation bar
entry only if there are not records assoicated with the record I am in. For
instance, if I am in an account and there are not opportunities for that
account, I don' t want to see the opportunities entry in the navigation bar.
Is this possible?

Thanks

Posted by Nicolas Pagès on May 6th, 2008


Hi,

My first guess would be to make a web service call from your script to find
out how many contacts are related to the current account.

--
Nicolas Pagès


"Jamie" wrote:


Similar Posts