06-26-2014 08:48 AM - edited 06-26-2014 08:49 AM
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
06-27-2014 08:14 AM - edited 06-27-2014 08:15 AM
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