Hi,
A dialog is not popping up when it is added as a target type for web item under profile section.
Thanks
Lava
Hi,
A dialog is not popping up when it is added as a target type for web item under profile section.
Thanks
Lava
Are you able to share some more details such as snippets of the relevant sections of the app descriptor and code.
Thanks,
Dugald
Hi Dugald,
Thanks for your response. These are the modules i use on atlassian-connect.json descriptor.
Descriptor:
"webItems":[{
"url": "/web-item-url",
"location": "system.user/user-content",
"context": "addon",
"weight": 200,
"target": {
"type": "dialogmodule",
"options": {
"key": "dialog-key"
}
},
"key": "web-item-key",
"name":
{
"value": "my web item"
},
"conditions":
[{
"condition": "user_is_logged_in"
}]
}]
"dialogs":
[{
"url": "/renders-dialog-content",
"location":"none",
"options":{
"chrome": false,
"size": "medium",
"buttons": [
{
"text": "close",
"identifier": "my_unique_identifier"
}
],
"header": {
"value": "my-web-item-header"
}
},
"key": "dialog-key"
}]
These are the web-item and dialog modules. A click on the web-item link should bring up a dialog box, but it isn’t. The same thing works when I move the web-item location to “system.header/left”.
Thanks
Lava
Hi @dmorrow,
I shared the snippet of code that i was using. Can you please share your thoughts on this when you get a chance ?
Thanks
Lava
Thanks for the extra details. I reproduced this and have consequently created CONFCLOUD-71621.
Regards,
Dugald
Hi all,
did you found any solution or workaround for this topic? The created ticket is not in progress.
Regards, ben