Comments (7)
- create Solution
- Get Survey2Service relationship
- Save attached zip to Solution item
- deploy Solution
- Restore relationship
- Restore zip
from solution.js.
Testing this, everything looks fine. Just one quick question about the following scenario.
- Solution A contains a survey
- Solution B contains a different survey which uses the same feature service as Solution A
- Solution C contains both surveys which reference the same feature service
If Solution A is deployed, and then Solution B is deployed, a single feature service should be created and share by both solutions, correct?
Currently, Solution A and Solution B both get their own version of the feature service. This is not the behavior I expected. I was anticipating one version of the feature service which is shared by the two solutions.
Solution C works as I would expect and a single feature service is shared by both surveys.
from solution.js.
@shoe913, did you test this with Ryan's app or the Deploy Solutions test app? Ryan's app is the only one that has the reuse logic enabled so you need to use that to see the behavior your describe.
from solution.js.
Cool, that is what I wanted verification on. I'll test in Ryan's app to verify that behavior.
Thanks!
from solution.js.
Ryan's App did the trick, this looks good to me.
from solution.js.
Further testing revealed some issues with forms. It looks like they are being added as part of the template or as a dependency. Both tests use the default sample form. They copy app doesn't seem to read the form and deploying also fails.
When making both of the templates below, I shared the form to the group used to create the solution template.
Template added Manually:
https://localdeployment.maps.arcgis.com/home/item.html?id=4a52e9e465084329a769bd78c1d30ec6
Template read as Dependency:
https://arcgis4localgov2.maps.arcgis.com/home/item.html?id=7faeba4455f74bb99b380082e8dc739c
Looks a little fishy to me that the two items are not consistent. I'm guessing this is at play when actually deploying the templates.
from solution.js.
On further inspection, everything looks good.
from solution.js.
Related Issues (20)
- Add Public Notification for ArcGIS Enterprise Variable HOT 2
- Support group tag when creating a solution item HOT 3
- Recycle Bin and Deleting Solutions
- Vector Tile Layer Basemap Dropped During Template Creation HOT 7
- Set properties property of Group during deployment HOT 2
- Copy layer level metadata into solution item
- When creating a QuickCapture solution, resources other than qc.project.json remain as files in addition to templatized forms HOT 1
- We need to ignore the published_data.json resource during creation and create it from the item data during deployed HOT 1
- Search for url encoded portal url and replace with {{portalBaseUrl}} property HOT 7
- Add support for Survey123 webhooks HOT 27
- Label property is not being replaced in Real-Time and Big Data Analytics when items are reused
- Conditional Values dropped in deployed solution HOT 2
- Organization URL key should be lower case HOT 1
- Join View fails to deploy if source services have different spatial references
- Upgrade an existing feature service
- Deployed surveys have blank thumbnail HOT 2
- Explore swizzling xlsx file in Survey123 form HOT 4
- Saving updates to a survey XLSForm does not refresh Survey123 Connect Form Preview HOT 3
- deploySolution demo's OAuth path is broken
- Use workflow api to delete a workflow when deleting a solution
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 solution.js.