i have a navigation which i need to hide on quick campaigns, how to do
-
dimanche 13 mai 2012 11:15I have a quick campaign form. In that i have a navigation link on the form. I want to hide and show it in javascript. Is there anything out of the box. How can do that?
Toutes les réponses
-
dimanche 13 mai 2012 11:22
Hi,
Quick campaigns entity is a special entity. If you go to a quick campaign record, there is nothing to be displayed on the left hand side except activity used (please not only one activity type can be used in a quick campaign), contacts and responses. You cannot hide or show them. These links are there by design.
Can you please explain in more detail what is the link you would like to hide or unhide. Please post some screen shots if possible, this will help myself or others to answer your issue.
Thanks.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Proposé comme réponse Ashish Mahajan Australia (Architect) dimanche 13 mai 2012 12:14
- Marqué comme réponse R Godbole dimanche 13 mai 2012 13:25
-
dimanche 13 mai 2012 11:58Thanks ashish. I will try to understand the issue. Can we hide links on left hand side. The links we will need which are relations to other entities. I am not sure of the relations at this time but it will be good if i can hide the links.
-
dimanche 13 mai 2012 12:13
Hi,
You can hide links on left hand side of entities. In case of quick campaigns, since it is a special entity, you cannot add relationships.
If you go to Settings > quick campaign entity customization, you can see that there is no button option to add a new 1:N relationship. The left hand side links to because of 1:N relationships. Please find the screen shot of quick campaign to see that there is no option to add 1:N relationships.
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Proposé comme réponse Ashish Mahajan Australia (Architect) dimanche 13 mai 2012 12:14
- Marqué comme réponse R Godbole dimanche 13 mai 2012 13:25
-
dimanche 13 mai 2012 12:20
Hi,
In case you just need to hide the left 1:N relationship link from any entity, please have a look at the code below. You can run this JScript function on the onload event of an entity.
Then pass the navigation item name as a parameter. Since we have given the value of setVisible as 'false', so it will hide the navigation. You can also make this as an input parameter and pass in as either true or false.
HideNavByName: function (navName) { var objNavName = Xrm.Page.ui.navigation.items.get(navName); if (objNavName != null) objNavName.setVisible(false); }I hope this helps. If my responses answered your question, please mark these responses as an answer and also vote them as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Proposé comme réponse Ashish Mahajan Australia (Architect) dimanche 13 mai 2012 12:20
- Marqué comme réponse R Godbole dimanche 13 mai 2012 13:25
-
dimanche 13 mai 2012 13:25Thanks for the javascript. It will come handy. yes you are right the quick campains do not have relationship button. I will consider this out of the box design. Thanks Ashish.