cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Get GroupID when adding gadget.

mattl1
7-Bedrock

Get GroupID when adding gadget.

Hey guys,

I'm looking to create my own 'Add Gadget' button that calls AddDashboardItem​. I have the dashboardID(input to dashboard widget) that the gadget will be added to, and obviously the mashupName of the gadget to add, but how can I get the groupID that the user chose to add to?

Thanks!

1 REPLY 1
Aanjan
12-Amethyst
(To:mattl1)

Matt, the groupID part is not exposed via any service, unlike the dashboardID property. You would have to open up your browser tools, add a gadget to a group in your dashboard, and check the POST call made by AddDashboardItem - that would list the dashboardID and groupID.

Announcements


Top Tags