Moving Code Attachments

164
1
03-21-2019 09:25 AM
JoshObrecht1
New Contributor II

It does not appear that you can move code attachments directly using AGO Assistant. When you move the web mapping application, does the code attachment go with it? If it doesn't, how do you suggest moving the application along with the code attachment?

0 Kudos
1 Reply
by Anonymous User
Not applicable

You can move the code attachment by following the next steps :

1) Download the code attachment in your disk as a zip file;

2) Access to the Webapp by using the sharing API

https://<Portal>/portal/sharing/rest/content/users/<user>

3) Select AddItem

4) Ensure to enter the right parameters :

  • File to Upload = <Zip file>
  • Title = <Code Attachment name>
  • URL = (URL to the WebApp­>
  • Type = <Code Attachment>
  • Type Keywords = Code, Javascript, Web Mapping Application

5)  Click Add Item

Enjoy!

 

@ZakariaDouiri 

0 Kudos