Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Nickel Elite Contributor
Posts: 86
Registered: ‎10-21-2009

Two Notes History Tabs in SalesLogix Web

[ Edited ]

Hi All,

 

As per the requirement, I have to add two notes history tab under Account and Contact Entity. Differnce will be in qualififying conditions for the list. One Notes/History will show History of Some activity types and other one will show the history of the rest of the activities.

 

I am working in SLX 8.1 Web and Mobile 3.0. So is there a way to achieve this ?

 

Thanks in advance.

 

Malay Mukherjee 

Nickel Elite Contributor
Posts: 86
Registered: ‎10-21-2009

Re: Two Notes History Tabs in SalesLogix Web

[ Edited ]

Some more details,

 

As per the requirement, I need to show all the Histories that are created by Administrator and the other list should display list of the histories created by regular users.

 

Can we modify, ../SmartParts/History/NotesHistoryList.cs so that we can pass the filter parameters to the js files.

 

var script = new StringBuilder();

        script.AppendLine(@"require([

            'dojo/ready',

            'Sage/UI/NotesHistoryList'       

        ], function (ready, NotesHistoryList) {");

 

        string baseScript = string.Format(

                  "window.setTimeout( function() {{ var a = new NotesHistoryList({{ 'workspace': '{0}', 'tabId': '{1}', 'placeHolder': '{2}', 'parentRelationshipName': '{3}' }}); a.startup(); }}, 1);",

                  getMyWorkspace(),

                  ID,

                  historyGridPlaceholder.ClientID,

                  GetParentRelationshipName(EntityContext.EntityType));

 

 

Thanks in advance

Malay