Resources for IT Professionals >
Dynamics Forums
>
CRM Development
>
How can I load a view form a navbar item
How can I load a view form a navbar item
- Have the code that does load view but there is an error and my guess is somewhere with
areaCampaignResponsesFrame
What I am trying to do is issue load that only shows a filtered view of campaign responses.
Any ideas would be appreciated.
leftNavRename(
'nav_mdv_campaign_campaignresponse_accepted', 'Campaign Responses', 'Accepted');
if
(document.getElementById('nav_mdv_campaign_campaignresponse_accepted') != null) {
document.getElementById('nav_mdv_campaign_campaignresponse_accepted').onclick = function() {
loadArea('areaCampaignResponses');
document.frames('areaCampaignResponses').document.onreadystatechange = areaCampaignResponsesFrame_OnReadyStateChange;
}
}
Answers
- As the view displayed in this case is always an associated view (which is only ONE UNIQUE view), I think that what you try to achieve is not possible...Or you have to code a specific form that displays the records you want...
My blog : http://mscrmtools.blogspot.com You will find: Form Javascript Manager (export/import javascript from forms) ISV.Config Manager (graphical ISV.config edition - export/import) View Layout replicator (customize one view and replicate to others) And others (use tool tag on my blog)- Marked As Answer byBILL_TETRAULT Tuesday, November 10, 2009 4:37 PM
All Replies
- please have a read of following article and see if it helps resolve this issue..
http://blogs.msdn.com/crm/archive/2008/01/10/creating-a-custom-search-button.aspx - Not realy what I'm looking for. The look I'm trying for is.
When in a Campaign on the left you see Campaign responses and when you click on NavBar Campaign responses you see a list of Campaign responses in a grid in the divDataArea, I have two other NavBar items Accepted and Registered that when clicked I would link the same grid in the divDataArea as Campaign responses but only showing selected items (Accepted or Registered) - As the view displayed in this case is always an associated view (which is only ONE UNIQUE view), I think that what you try to achieve is not possible...Or you have to code a specific form that displays the records you want...
My blog : http://mscrmtools.blogspot.com You will find: Form Javascript Manager (export/import javascript from forms) ISV.Config Manager (graphical ISV.config edition - export/import) View Layout replicator (customize one view and replicate to others) And others (use tool tag on my blog)- Marked As Answer byBILL_TETRAULT Tuesday, November 10, 2009 4:37 PM

