Comments (7)
See this post for documentation https://community.esri.com/groups/survey123/blog/2019/08/08/survey123-tricks-of-the-trade-photo-watermarks
from sarcop.
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?
from sarcop.
@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.
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.
@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.
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:
Here's how:
- Open Survey 123 Connect and open your survey, then open the XLSX editor
- Create a new hidden row and call it watermark
- 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")
- Go to your photo attachments and find the ESRI Parameters column
- Type in the following: bottomLeftWatermark="@[datetime:ddd MMMM dd yyyy h:mm:ss]&size=20&color=grey&outlineColor=white" topRightWatermark=${watermark}
- Copy that string into the other photo attachments as well
from sarcop.
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)
- [BUG] - QC Battery Drainage with Location Sharing Tracks
- [ENH] - User control of layer visibility range from Layer widget.
- [ENH] - Edit data using merge, erase, cut, union, and reshape. HOT 2
- [ENH] - Batch Edit HOT 1
- [ENH] - Intel Manager 2.0 Search By ObjectID HOT 4
- [ENH] - Edit Via Tactical Dashboard Table Element HOT 5
- [ENH] - Intel Manager 2.0 "Deep Link" from Tactical Dashboard
- [ENH] - Intel Manager 2.0 Measure Tool HOT 2
- [ENH] - Intel Manager 2.0 Coordinate Conversion Tool HOT 2
- [ENH] - Intel Manager 2.0 - Copy Features from one layer to another HOT 1
- [BUG] - Android phone got hot while running QuickCapture / tracklog and while taking pics out of app HOT 7
- [ENH] - Grid Overlay
- [ENH] - Create US&R Structure Monitoring Layer HOT 4
- [ENH] - HAZ layer summary for Structure Haz Identification, Structures Hazard Mitigation, Structures Resources
- [ENH] - Rotation of XYZ Symbol
- [ENH] - HAZ Safe Distance Fields HOT 1
- [BUG] - QuickCapture auto-correct issue with RST HOT 1
- [ENH] - General RST Dashboard Feedback 07/16 HOT 1
- [ENH] - IM2.0 needs the GRG Widget HOT 1
- [BUG] - Dashboard Summary download uses domain codes not labels/aliases (Esri Case #03678057) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sarcop.