How to use the setShare parameter to set the share settings for a particular asset in the MyContent folder
book
Article ID: KB0070913
calendar_today
Updated On:
ibi WebFOCUS
|
WebFOCUS 8207.28 to WebFOCUS 9
|
Description
How to use the setShare parameter to set the share settings for a particular asset in the MyContent folder
Resolution
Solution:
- Copy creates a new resource and Share properties are not created on the new resource; in this scenario the move option is better.
- REST is using simple basic operations, to share multiple resources, you would have to iterate over the resources.
- A resource that is shared will have the attribute sharedToOthers="true", if the attribute is missing, the resource is not shared.
- The setShares action is available in the REST TEST page, however it is not documented. The usage is:
For IBFS_path enter:
IBFS:/WFC/Repository/Prem/~admin/Chart1.fex
For IBFS_subjectsList enter a list or users or groups:
<rootObject _jt="ArrayList" size="1">
<item _jt="string" index="0" value="IBFS:/SSYS/GROUPS/Prem/Developers"/>
</rootObject>
Issue/Introduction
How to use the setShare parameter to set the share settings for a particular asset in the MyContent folder
Additional Information
See the attached images
Case # - 02192533
Attachments
How to use the setShare parameter to set the share settings for a particular asset in the MyContent folder
get_app
How to use the setShare parameter to set the share settings for a particular asset in the MyContent folder
get_app
How to use the setShare parameter to set the share settings for a particular asset in the MyContent folder
get_app
Feedback
thumb_up
Yes
thumb_down
No