I currently have a macro that extracts the last modified username of a page. I would like to enhance this macro by also identifying when a comment is added to a page.
If 'page' is modified OR 'comment' is added - get username.
This would also suffice;
if ANY attribute of 'page' is modified, get username.
Thoughts?
Phil
Hi Phil,
as comments are connected to a page but not part of the page, the way to go would be:
- Get last updated of page
- Get last comment of page by looping over all comments (could be difficult because there can be comments of comments...)
- Compare the last updated dates & return the youngest value
Quit a bit of programming in a user macro but should be possible.
Best
JP
Thanks for the suggestion. Not as streamlined as I would have hoped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.