Giter Club home page Giter Club logo

Comments (4)

DavidSpriggs avatar DavidSpriggs commented on June 12, 2024

Sure, use the attachment editor: https://developers.arcgis.com/en/javascript/jsapi/attachmenteditor-amd.html
Sample here as well: https://developers.arcgis.com/en/javascript/jssamples/ed_attachments.html

You can also use the Attribute inspector with showAttachments set to true: https://developers.arcgis.com/en/javascript/jsapi/attributeinspector-amd.html
Sample here: https://developers.arcgis.com/en/javascript/jssamples/ed_attribute_inspector.html

from cmv-app.

knabe2604 avatar knabe2604 commented on June 12, 2024

I guess the main question I have is that I do not know where to put the code since everything is broken up. I know how to add code in visual basic but not in all the different JS files. Sorry to bug ya!

Nick

From: David Spriggs [mailto:[email protected]]
Sent: Friday, January 17, 2014 10:51 PM
To: DavidSpriggs/ConfigurableViewerJSAPI
Cc: Knabe, Nicholas
Subject: Re: [ConfigurableViewerJSAPI] Show Attachments (#36)

Sure, use the attachment editor: https://developers.arcgis.com/en/javascript/jsapi/attachmenteditor-amd.html
Sample here as well: https://developers.arcgis.com/en/javascript/jssamples/ed_attachments.html

You can also use the Attribute inspector with showAttachments set to true: https://developers.arcgis.com/en/javascript/jsapi/attributeinspector-amd.html
Sample here: https://developers.arcgis.com/en/javascript/jssamples/ed_attribute_inspector.html


Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-32674655.

from cmv-app.

DavidSpriggs avatar DavidSpriggs commented on June 12, 2024

You can do this now with the identify widget and configuring a Popup template see:
js/gis/dijit/Identify/config.js.

from cmv-app.

taran03 avatar taran03 commented on June 12, 2024

Hi David,

Do you have any recommendations on how to display attachments for secure services in the cmv identify popup? I'm able to do this with unsecured services, but with a secure service the user is redirected to login to the rest endpoint before they can view the attachment. I have a proxy set in the viewer.js that is functioning, but the identify tool doesn't honor this for the attachments. Thanks!

image

image

from cmv-app.

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.