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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.