Giter VIP home page Giter VIP logo

Comments (7)

pjdohertygis avatar pjdohertygis commented on July 28, 2024

See this post for documentation https://community.esri.com/groups/survey123/blog/2019/08/08/survey123-tricks-of-the-trade-photo-watermarks

from sarcop.

afackler avatar afackler commented on July 28, 2024

I managed to get the watermarks to display the data correctly but I cannot manipulate the text in any way. I would like to increase the size and add a halo around the text to help it stand out a bit, but I have been having troubles with doing this. I had to add a new field for the watermark to take the geopoint data instead of the receiver data,. Below is a cut out of my progress. Any ideas in why I can't add a halo or text outline @tedrick?

Annotation 2019-12-05 163300

from sarcop.

tedrick avatar tedrick commented on July 28, 2024

@adf102 - append the desired properties to the watermark with & (similar to URL parameters). As an example:
bottomLeftWatermark="Bottom Left @[datetime:ddd MMMM dd yyyy h:mm:ss]&size=20&color=grey&outlineColor=white"

from sarcop.

afackler avatar afackler commented on July 28, 2024

Thanks @tedrick , I got the date part working with that string working. Do you happen to know if S123 allows custom properties on user input watermarks? I'm trying to get the Lat/Long of the geopoint to show up as a watermark as well and I got it that it will at least display but every combination I tried with the other properties were disregarded and when I try to add the quotes (like the in the date/time) nothing shows up. This is my string:

topRightWatermark=${latlong}&size=20&color=grey&outlineColor=white

from sarcop.

tedrick avatar tedrick commented on July 28, 2024

@adf102 - it would be best to construct the string in a calculate question and then use that in the watermark. See the 'Adding previously entered data from your form' section of https://community.esri.com/groups/survey123/blog/2019/08/08/survey123-tricks-of-the-trade-photo-watermarks

from sarcop.

afackler avatar afackler commented on July 28, 2024

Alright I managed to get the watermarks the way that I wanted them showing date and time and pulling data from the geopoint. Here is the result:
image

Here's how:

  1. Open Survey 123 Connect and open your survey, then open the XLSX editor
  2. Create a new hidden row and call it watermark
  3. Go to the calculation column of your new row and type in the following: concat("Lat: ", ${latitude}, "\n ", "Long: ", ${longitude}, "&size=20&color=grey&outlineColor=white")
  4. Go to your photo attachments and find the ESRI Parameters column
  5. Type in the following: bottomLeftWatermark="@[datetime:ddd MMMM dd yyyy h:mm:ss]&size=20&color=grey&outlineColor=white" topRightWatermark=${watermark}
  6. Copy that string into the other photo attachments as well

from sarcop.

jdokemaps avatar jdokemaps commented on July 28, 2024

I included watermarks in the template. We wanted to use USNG instead of Lat Long (as noted above), so this is the calculation that I used in the esri parameters field for each of the image fields:
bottomLeftWatermark="@[datetime:ddd MMMM dd yyyy h:mm:ss]&size=20&color=grey&outlineColor=white" topRightWatermark="@[usng]&size=20&color=grey&outlineColor=white"

from sarcop.

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.