Is there a way in Cloud to insert a username (or other configurable parameter) inline with text?
Example: There are instructions to create a folder and put something in it, so the instructions would read something like:
Please create a folder in the root directory. Use the command
mkdir [USERNAME]-test
When done, please remove the directory by using the command
rm -rf [USERNAME]-test
With [USERNAME] being the username of whoever is logged in. This will enable easier copy and paste for longer strings.
Is this possible? The User Profile macro is not what I am looking for, unless you can pull username from it with some extra arguments.
Welcome to the Community!!
We need a plugin here
This plugin allows us to place dynamic content on the page
Another way is to build a forge App in order to place the dynamic contents
Here's a quick start guide
https://developer.atlassian.com/cloud/confluence/modules/dynamic-content-macro
Let me know if you have any doubts
Thanks,
Pramodh
While ConfiForms could easily help you here you need to be aware that the usernames in the cloud (as your question is tagged with) are the long hashes... not the usernames you are used to have on server/dc
So it's gonna be something like
mkdir aaa-bbbb-cccc-dddd-eee-test
@Pramodh M thanks for mentioning!
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you both. I will look into it/them.
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.