Hi @tpettersen ,
the localId
property in the context argument is unfortunatly not unique as it is duplicated if the macro gets copied by a user.
For example, I added a macro to a page and then copied it and added it a second time. As you can see in the atlas_doc_format below, the bold localId’s in the parameter-context are the same. Those get returned by the resolver.
However, the localId at the end of each macro is still unique. I assume that those are used by Atlassian internally. Unfortunatly those are not accessible for us Forge developers.
Another example is here: Forge Macros: localid duplicated when copying?
Could the first localId be made unique or the second one be made accessible? It is a major blocker for us.
Also, I have no clue whether or not you are the correct person to talk to, but I have no idea who else I should @mention. Could you forward this subject to the correct people?
Thanks!
{“type”:“doc”,“content”:[{“type”:“paragraph”},{“type”:“extension”,“attrs”:{“layout”:“default”,“extensionType”:“com.atlassian.ecosystem”,“extensionKey”:“6cafc343-0202-4853-b540-fa645ad49db9/646e12b5-e95a-4256-bdc2-a517167b99ea/static/xmlauslesen-front-end”,“text”:“xmlAuslesen (Development)”,“parameters”:{“guestParams”:{“uuid”:“238dba90-28ac-4bd7-9ee5-f888dbfa4491?”,“test1”:“not very creativ”},“localId”:“2f365162-5b1d-430a-a02c-a981438444f2”,“extensionId”:“ari:cloud:ecosystem::extension/6cafc343-0202-4853-b540-fa645ad49db9/646e12b5-e95a-4256-bdc2-a517167b99ea/static/xmlauslesen-front-end”,“extensionTitle”:“xmlAuslesen (Development)”},“localId”:“39236ab3-7750-4ac3-9f6d-8f9478af58a9”}},{“type”:“extension”,“attrs”:{“layout”:“default”,“extensionType”:“com.atlassian.ecosystem”,“extensionKey”:“6cafc343-0202-4853-b540-fa645ad49db9/646e12b5-e95a-4256-bdc2-a517167b99ea/static/xmlauslesen-front-end”,“text”:“xmlAuslesen (Development)”,“parameters”:{“guestParams”:{“uuid”:“238dba90-28ac-4bd7-9ee5-f888dbfa4491”,“test1”:“42?”},“localId”:“2f365162-5b1d-430a-a02c-a981438444f2”,“extensionId”:“ari:cloud:ecosystem::extension/6cafc343-0202-4853-b540-fa645ad49db9/646e12b5-e95a-4256-bdc2-a517167b99ea/static/xmlauslesen-front-end”,“extensionTitle”:“xmlAuslesen (Development)”},“localId”:“748a5c08-8246-4332-8049-fb033f88831e”}}],“version”:1}