Coder Social home page Coder Social logo

Comments (8)

chris-fox avatar chris-fox commented on May 27, 2024

Related when templatizing don't store the code attachment in the template

from solution.js.

MikeTschudi avatar MikeTschudi commented on May 27, 2024
  • don't save code attachments in template
  • create code attachment for WAB app when deploying

from solution.js.

chris-fox avatar chris-fox commented on May 27, 2024

@MikeTschudi, the first part in regards to not saving the code attachment with the template is working well, but I am not seeing the code attachment being created during the deployment. To repro deploy Election Outreach, there are 3 web appbuilder apps and I am not seeing code attachments for any of the apps.

from solution.js.

MikeTschudi avatar MikeTschudi commented on May 27, 2024

Fixed in commit c92dc06

from solution.js.

MikeTschudi avatar MikeTschudi commented on May 27, 2024

Fixed with PR #68

from solution.js.

chris-fox avatar chris-fox commented on May 27, 2024

@MikeTschudi, one more thing I forgot to mention here. In order for it to produce the desired experience you need to create a WMA2Code relationship between the web appbuilder app and the code attachment:

https://developers.arcgis.com/rest/users-groups-and-items/relationship-types.htm

The best way to do this is in the addItem call for the Code Attachment by specifying the relationshipType and the originItemId of the web appbuilder app.

https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm

The way to verify this worked is if the code attachment is created properly and related to the app you will see a download button from the item details of the app.

from solution.js.

MikeTschudi avatar MikeTschudi commented on May 27, 2024

@chris-fox, thank you for reminder

from solution.js.

chris-fox avatar chris-fox commented on May 27, 2024

Verified

from solution.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.