Managing items
This topic only applies to 10.2.1 and later versions.
Administrators can manage the content owned by members. For any item in the organization, you can edit its details, such as changing its sharing properties, making a public item private, moving the item to a different folder, and deleting the item. You can also change who owns the item in the portal website or change item ownership in bulk using a command line utility.
Managing items using the portal website
You can manage the content owned by members using the portal website. You cannot change the ownership of an item in bulk using the portal website.
- Log in to the portal website as an administrator and click the My Organization link on the top menu. Your organization page opens.
- Click the Manage Items button in the row of the member whose items you want to manage. The member's My Content page opens. You can manage items from the My Content page or from the item's details page. The steps below outline how to manage items from their details pages.
- Check the left-hand box in the row of the item you want to manage.
- Click the title of the item to open the item details page. You have options to edit, share, delete, and move to. Files include an update option. Applications include an option to attach code.
- Click the Share button to change the sharing properties of an item.
- Click the Move To button to change which folder in the member's contents the item is in. The Move To window opens.
- Select a different folder for the item.
- Click the New folder button if you want to create a new folder for the item.
- Click Move.
- Click the Change Owner button to reassign an item to another user. The Move To window opens.
- From the drop-down menu, choose the user to whom you want to reassign the item.
- Select the destination folder for the item.
- Click the New folder button if you want to add a new folder to the user you selected and create a new folder for the item.
- Click Move.
- Click the Delete button to delete an item. This removes the item from the portal website.
Changing item ownership in bulk using the command line utility
Changing item ownership in bulk using the command line utility is appropriate if you need to transfer the ownership of multiple members' items to other members in your portal at once. You may need to transfer ownership of items if you are attempting to remove members. Members cannot be removed if they own content or groups.
You'll use the TransferOwnership command line utility installed with the software to transfer ownership of member items in bulk. The tool is located in the <Portal for ArcGIS installation location>/tools/accountmanagement directory. The tool takes a text file as input and must be run on the machine where the portal is installed.
The utility can only be executed by a built-in administrator account; you cannot use an enterprise administrator account. The built-in account you use can be the initial administrator account you set up when you configured the portal or another built-in account that has been granted administrator privileges. If you have deleted the initial administrator account and do not have any other built-in administrator accounts available, you will need to create one to execute the utility. For instructions, see the Built-in portal accounts section of Adding members to your portal.
- Create a text file that contains the user names of members that currently own items and the user names of members to which the item ownership will be transferred. Separate user names using a pipe (|). Each line must contain two user names; the first name listed is the current owner, the second name listed is the new owner.
sarah|robert james|qing nichole|jose alex|david
Note:You must specify the user name of the members. Do not use the full name of the members; the tool will ignore all entries that use the full name of the members. Also note that the user names you type in the text file must be in the same case as they are stored in the portal. You can run the ListUsers command line utility or check the My Organization page of your portal website to see in what case the user names are stored.
- Save the text file.
- Run the TransferOwnership command line tool by specifying your text file as the tool's input.
The following example runs the TransferOwnership command with a file named ownershiptotransfer.txt:
./TransferOwnership.sh --file /data/scripts/ownershiptotransfer.txt
Tip:Be sure to use the correct case for command line options and file names.