Post

2 followers Follow
0
Avatar

URL to personal calendar

I've worked out I can pass around a direct URL to a user's personal calendar if I append a special id for that user to the end of https://app2.clarizen.com/Clarizen/Pages/Admin/PersonalCalendar.aspx?id=

I can get a user's special id by inspecting the HTML when the user's calendar link is visible in the web UI (see image at bottom).

But how do I get that special id programmatically?  Is there a way to populate a custom field with it?  Or access it through a function?

Lance Luvaul Answered

Please sign in to leave a comment.

2 comments

0
Avatar

To anyone monitoring: following Roland's lead (thanks Roland!) I created a custom field against the User type containing the following formula to extract the special code (then I can then access the custom field via the API): RegexReplace(RegexReplace(GetObjectURL(CurrentObject()), '/$', ''), '.*/', '')

Lance Luvaul 0 votes