06-18-2024 07:45 AM
Hi ,
In one of my report the user want to show a column for audit which will show who commented for that variance explanation intersection, can you please help me to get this audit. Please let me know if any more information required.
Solved! Go to Solution.
06-18-2024 08:01 AM - edited 06-18-2024 08:05 AM
Hi @Ashu_Aswal,
You could achieve that by creating a dynamic calc member and having it returning that info for the required POV using the following api:
Dim objDataAttachmentList As DataAttachmentList = api.Data.GetDataAttachments(memberScript, includeFileBytes, startRowIndex, pageSize)
objDataAttachmentList.Items.Item(0).LastEditedUserName
Note: it is important that you use one of the text view members e.g.: V#Annotation to show that info.
06-18-2024 08:01 AM - edited 06-18-2024 08:05 AM
Hi @Ashu_Aswal,
You could achieve that by creating a dynamic calc member and having it returning that info for the required POV using the following api:
Dim objDataAttachmentList As DataAttachmentList = api.Data.GetDataAttachments(memberScript, includeFileBytes, startRowIndex, pageSize)
objDataAttachmentList.Items.Item(0).LastEditedUserName
Note: it is important that you use one of the text view members e.g.: V#Annotation to show that info.
06-19-2024 06:58 AM
Thank you very much @FredLucas for this solution. This worked perfectly.