2 followers Follow

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

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.



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
Comment actions Permalink