I am using the HTML macro in the confluence page. With the HTML macro, I am using the iframe tag and would like to pass the userid of the person logged within confluence in the src attribute. How do I do that?
My code for iframe:
<iframe id="myFrame1" width="1500" height="600" src="https://www.test.com/Login=(userid)"> </iframe>
"userid" should be the confluence userid. Basically return the function for AJS.params.remoteUser.toUpperCase()
Thanks in advance.
Hi @Paras
If you are on server, you have to write a user macro.
If you are on cloud, I'm not sure, whether this is possible somehow.
Regards, Dominic
Exactly, If you are on Cloud, out of luck. On server, you have the option of an simple user macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Who doesn’t love a good template? We sure do! Check out our top template picks for Marketing teams who want to streamline their processes, enhance collaboration, and take their marketing to new heights.
Read more 📚Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.