DOC
|
I guess you are still accessing the old code, so first you have to clean the browser cache and then launch again the app.
... View more
09-04-2018
06:50 AM
|
0
|
0
|
3936
|
BLOG
|
Julie, Any idea about when Web AppBuilder will be moved to 4.x? Or as you in a general way said: "It depends on when we reach full parity in 4.x, enabling us to move critical apps [...] to 4.x" Thanks, Victor
... View more
06-05-2018
11:59 PM
|
0
|
0
|
2247
|
DOC
|
Thanks for your test. I create a MXD from scratch, added the feature, publish, and it is working as desired. I think somehow my MXD / Service is corrupt. Thanks again!
... View more
03-15-2018
05:35 AM
|
1
|
0
|
3936
|
DOC
|
Robert, First of all thank you for your great widget 😃 I am trying to configure the Widget to get the GlobalId as display attribute in the Identify List. Unfortunately I am not getting back the GlobalId from the Identify query. It does not exist in the returned list of attributes from the Identify Task, although it can be found in the list of fields. Do you have any Idea why? Is there an option to configure the returned by the Identify Task in AGS? Thanks in advance! Victor
... View more
03-14-2018
07:07 AM
|
0
|
0
|
3935
|
POST
|
But you got the following message "The 'Access-Control-Allow-Origin' header contains multiple values 'null, *', but only one is allowed. Origin 'null' is therefore not allowed access." because probably the custom header was added from 2 different points. We need to summarise all the things, if not we'll lost the focus: Add custom header to the server Check the response It it works, congratulations!! If fails and response is "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access." I'll start to be crazy at least you're using IE9. If fails and response is "The 'Access-Control-Allow-Origin' header contains multiple values 'null, *', but only one is allowed. Origin 'null' is therefore not allowed access." there is at least one more component which is adding the custom header. Probably in the JS code or at a higher level on the server.
... View more
11-08-2017
07:38 AM
|
0
|
1
|
6534
|
POST
|
The new PDF generated from ArcGIS Server is accessed through the ArcGIS WebAdaptor (I guess), so it comes with the right header, just because the WebAdaptor was adding the "Access-Control-Allow-Origin" to the header by default. Or the ArcGIS Server itself, doesn't matter. But the PDF you are providing through "your server" does not write such header. You have to add the custom header to the endpoint is providing your PDF. If you have a web.config, just add the following statement: <system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
<system.webServer> I hope it helps.
... View more
11-08-2017
03:12 AM
|
1
|
3
|
6533
|
POST
|
If your server and client are on the same machine... I cannot understand. Are you running the application from outside, for example your machine? Please, check the following: Open the browser without web security chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security Check if the application runs without problem BTW: double check that esriConfig.defaults.io.corsEnabledServers.push("ourserver.com") is include in your code after the changes you did.
... View more
11-07-2017
02:11 AM
|
0
|
5
|
6533
|
POST
|
Hi Levi, I suggest to remove the custom Headers from your webconfig file. You have to be able to configure that using the ArcGIS Server and the client configuration. Are the ArcGIS Server and the Client on the same machine? Are they on the same domain? Please, check the CORS configuration of your ArcGIS Server, usually under the following url: https://yourserver.com/arcgis/admin/system/handlers/rest/servicesdirectory and check the property AllowedOrigins. Do you use a client wrote using ArcGIS-JS-API or it is on top of WebApp Builder?
... View more
11-03-2017
03:50 AM
|
1
|
14
|
16521
|
Title | Kudos | Posted |
---|---|---|
1 | 11-03-2017 03:50 AM | |
1 | 11-08-2017 03:12 AM | |
1 | 08-03-2018 02:42 AM | |
1 | 03-15-2018 05:35 AM | |
1 | 12-02-2016 06:56 AM |
Online Status |
Offline
|
Date Last Visited |
01-10-2024
10:29 AM
|