During the past UC2021 the search () appearance was presented.
I have done the example from the demo video and it works great because a public layer was used.
Example layer:
I have tried to implement it in my own survey with our layers, but it cannot "access" them. When copy and paste the URL of the private layer, it needs a token.
My layer:
Results:
Is it necessary to add a token so that survey can "read" the private layers themselves?
If the token is required, how can I create it, and how to add it to the URL?
Thanks a lot.
Solved! Go to Solution.
Hello BrettStokes.
I am the owner of the layer and the survey.
I noticed that the problem is about the XLSForm, in a restriction over the cell, ignoring the error it can read the feature service well.
Hi @HaroldHerrera1 ,
No, it's not necessary to add a token to the URL you are using within your search() expression. You will need to be signed in (to Connect and/or the field app) with an account that has access to your feature service for this to work in your survey. Please confirm you're signed in and your account has access to the feature service.
Brett
Hello BrettStokes.
I am the owner of the layer and the survey.
I noticed that the problem is about the XLSForm, in a restriction over the cell, ignoring the error it can read the feature service well.
Hello Brett,
Is there any limitation if I'm using a secured feature service from another organization? I have credentials to access that service but I need to build my survey on my organization.
Another question, does search function work with any field type (integer, text, double) and not a unique value? I'm trying to work with integer field, but not unique value. No result in the options
Hi- great information, thanks for sharing.
Is it possible to provide the XLS to show the solution and syntax of the Search() appearance function to load data?
Thanks so much!