How to use the setShare parameter to set the share settings for a particular asset in the MyContent folder

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:

Products Versions
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:
 

  1. Copy creates a new resource and Share properties are not created on the new resource; in this scenario the move option is better.
  2. REST is using simple basic operations, to share multiple resources, you would have to iterate over the resources.
  3. A resource that is shared will have the attribute sharedToOthers="true", if the attribute is missing, the resource is not shared.
  4. 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