POST
|
Diego, I am happy to post on any solutions that I find, thank you! In response to your question: Esri advised me to add the token to the JSON request once it reaches the proxy, not before. They also informed me would be very difficult to add the token at the client side as, if you are using a proxy, the token is stored on the proxy server, not in the client side app. Because for this, the Esri print widget guys at the UC advised me to work with our development staff to add a custom modification onto the C# proxy (available on GitHub) that we are using. Here is the link if you don't already have it: GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP. I have used Esri premium content in maps before, in order to circumvent the need for the end user to authenticate, I have used Esri's Hosted Proxies. To use them, just add the layer to your ArcGIS Online content and opt to store credentials with the premium content layer. Be advised: If you do this with any service or layer that uses credits, the credentials that you enter will be charged. I have successfully printed using the ArcGIS Online print utility tool with that layer on the map. ArcGIS Online Print Utility: Task: Export Web Map Task Sorry I could not be of more assistance, if I get any more updates I will pass them along. Just as a side note, Esri advised to avoid adding custom functionality directly into the current Print widget as in the future, the print services will be revamped to allow for templates created using ArcGIS Pro. Chris
... View more
08-09-2016
12:15 PM
|
2
|
2
|
4322
|
POST
|
Hello, I am trying to over right a hosted feature layer on ArcGIS Online. I have the same layers (with 1 field type change) ready to be published from ArcMap 10.4.1. I run the analyze tool and take care of any errors. Then, I select publish. When I do I get the following error: I cannot find what the codes mean in the error message. Has anyone else come across this message? Thanks, Chris
... View more
07-18-2016
11:59 AM
|
0
|
2
|
4851
|
POST
|
Hello all, just another update for those who are still following along! I spoke with the Print widget guys at the UC in San Diego a few weeks ago (June/July 2016). They told me that in order for the print service to work, the proxy must be changed so that it will add a token on to a JSON output from the client side app. Currently, as stated above, the proxy will see the request from the print widget go through, but it will not attach a token to it. It is not the easiest solution, but it is the way to go. Thanks, If anyone has found a workaround to this issue, please let me know! Chris
... View more
07-11-2016
02:08 PM
|
2
|
4
|
4322
|
POST
|
Yue, Will the Bing maps still show if a proxy is used on the WAB app? Thanks! Chris
... View more
06-23-2016
12:17 PM
|
0
|
0
|
116
|
POST
|
Juan, I was able to get the popup to show the correct attributes by adding the layers to a new dashboard and removing them from the original one. I'm not sure what changed, but creating a nw dashboard solved the issue. I will speak with someone at Esri about this. Gracias, Chris
... View more
06-23-2016
06:15 AM
|
1
|
0
|
838
|
POST
|
Hello all, Another Update: I kept looking into this problem and I found our why the Esri proxy will not work with printing secured services. Here is what I found: ========================================================================================== Post by: Artemis Fili The resource proxy will not print a secured map service. This is by design. So it is possible to use the proxy in order to authenticate and display the secured service on the map, but when it comes to printing a secured service, the resource proxy will not handle this scenario as it will not pass the token in the Web_Map_as_JSON parameter. If you are using a short lived token, then a solution would be to let the identity manager handle the authentication for you, meaning that you will get a prompt to enter your credentials once the app loads and then these credentials will be used when you try to print. Otherwise, you can create a custom print service and embed the credentials as described in the article. If you choose to use the second option, please make sure that you use a 10.3 print service or above as there was an issue in the earlier versions which is fixed in 10.3 Link: PrintTask, Secure AGS Service, and Resource Proxy ========================================================================================== Chris
... View more
06-15-2016
08:20 AM
|
1
|
5
|
4322
|
POST
|
Artemis, What if you are trying to generate a print that includes secured feature services that are hosted on ArcGIS Online? We have created an app that is embedded in a website. In order to bypass the need to log in to ArcGIS Online whenever the app is opened, we have utilized the proxy. We would like to include Esri's print functionality into the app. But with the proxy utilized, the print requests fail as the Esri Print Service does not have permissions to access the layers. Thanks! Chris
... View more
06-14-2016
06:53 AM
|
0
|
3
|
4988
|
POST
|
Here is what Esri's site says about secured OGC Layers. Secure OGC services OGC WMS and WMTS services secured with web-tier authentication, such as Integrated Windows Authentication (IWA), a public key infrastructure (PKI), Basic, or Digest access authentication, are supported. OGC WMS and WMTS services secured with token-based authentication are not supported. Configure support for OGC services secured with web-tier authentication by adding the server hosting the services to your organization’s list of trusted servers. The server must support CORS; otherwise, layers hosted on the server will not function as expected in ArcGIS Online. If you will access the secure OGC service with Internet Explorer, you may need to add the domain of your organization’s trusted servers to your browser’s trusted sites list. Once the server has been added to the list of trusted servers, you can add your OGC services to the map viewer or as an item (WMS only). If authentication is necessary, users adding or viewing secured OGC layers will be prompted to enter their credentials. Link: OGC—ArcGIS Online Help | ArcGIS Hope this helps! Chris
... View more
06-10-2016
07:23 AM
|
1
|
0
|
1431
|
POST
|
Hello, We have an app embedded in a website that was created with WAB 1.3 (DE). I have noticed that when a feature is selected in the Attribute Table widget while, or before, the Edit widget is opened, the selected features cannot be edited. Is this on purpose as to prevent the editing of selected features, or is it a defect? I found a way to edit the selected features while both the Edit and Attribute Table widgets are open. If you use the "Add to Selection" tool on the Edit widget (pictured below) and add the features that way, the features can then be edited. But, the cyan blue selection indicators from the Attribute table remain even after the feature are deleted. They will not be removed until you select "Clear Selection" from the Attribute Table. After deletion: Thanks! Any help is appreciated! Chris
... View more
06-06-2016
01:26 PM
|
0
|
0
|
2250
|
POST
|
Frank, Currently, the ability to enter time data in the "Out of the Box" Edit widget is not available. If you have the WAB Developer Edition, you can download the app and edit the widget's code to show the time field. Esri is planning on fixing this for the UC Release. Here is the thread that has the fix for Developer Edition and where Esri confirms that this will be fixed. Editing Time in DateTime Field in 2.0 DE? Hope that this helps! Chris
... View more
05-24-2016
05:53 AM
|
1
|
0
|
321
|
POST
|
Raju, I apologize but I am not that familiar with Flex or Silverlight. From what I have seen, you will need to edit where the popups are configured in the code for the app. To add a hyperlink in HTML, add this line to the configuration. <a href="{YourField}" target="_blank"><B>More Info</B> I hope that this will help! Chris
... View more
05-24-2016
05:46 AM
|
0
|
0
|
488
|
POST
|
Raju, Where are you trying to view the Service at? (ArcGIS Online, a JavaScript Map, ArcMap, etc...) Chris
... View more
05-23-2016
10:25 AM
|
0
|
2
|
488
|