Web item target type as dialog is not working from user profile menu

Hi,

A dialog is not popping up when it is added as a target type for web item under profile section.

, but the same is working fine on the apps menu. Is this a known issue with confluence cloud?

Thanks
Lava

1 Like

Hi @lavakumar.dukanam,

Are you able to share some more details such as snippets of the relevant sections of the app descriptor and code.

Thanks,
Dugald

1 Like

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

1 Like

Hi @lavakumar.dukanam,

Thanks for the extra details. I reproduced this and have consequently created CONFCLOUD-71621.

Regards,
Dugald