Select to view content in your preferred language

Reuse itemId for portal group creation

439
1
01-16-2023 11:30 PM
Robert_van_Gilst
Occasional Contributor

I've made some code to move items from Portal to another reusing the itemId created in the Development Environment.

Here I use /content/users/[userName]/addItem and specify itemIdToCreate to reuse the itemId from the Development Environment.

But this option does not work, and I also cannot find documentation when using /community/createGroup 

Someone knows if this is possible or not? Right now, I have to figure out the the names of the groups on the development server. Find the corresponding group names on the deployment server and update the itemId's for groups when publishing portal items or when updating groups

1 Reply
DanCopKac
Frequent Contributor

officially should work, but it doesnt seem to be working for me with feature services in Enterprise 11+. keeps giving a random itemId even when I specify a valid itemId from my dev portal. 

Okay, I see now that if you specify dataUrl then it doesnt work

0 Kudos