POST
|
Shaun, Did you ever find an answer to this? I've got the same problem in reverse - I want the matches to allow for looser text matches. It works fine in arc map/catalog where it is built, but in my case when I deploy to runtime it only gets a match if the text is entered exactly.
... View more
02-01-2017
09:26 AM
|
0
|
3
|
1098
|
POST
|
A colleague was able to point out that there is an additional step I was missing. After creating the locator, I had to use the File -> Share As and drill down to share the locator as a runtime output. Now I have it running, but it behaves differently in the runtime than it does in ArcMap, in that the search must be more specific in runtime. I'm not sure why this is the case yet, but looking at possible places where the search sensitivity may have been overridden.
... View more
02-01-2017
08:58 AM
|
1
|
0
|
626
|
POST
|
A colleague was able to point out that there is an additional step I was missing. After creating the locator, I had to use the File -> Share As and drill down to share the locator as a runtime output. Now I have it running, but it behaves differently in the runtime than it does in ArcMap, in that the search must be more specific in runtime. I'm not sure why this is the case yet, but looking at possible places where the search sensitivity may have been overridden.
... View more
02-01-2017
08:57 AM
|
0
|
0
|
1327
|
POST
|
What do I need to do to make this work with 10.3.1? I've enabled the option for Runtime output, but I still don't get a .locb file created. I'm using a single field locator - is that a problem in any way?
... View more
01-30-2017
02:07 PM
|
0
|
1
|
1327
|
POST
|
One further update - I have seen posts that the .locb file is required, but it is not being created in my single field locator. One of those does get created for each of the address locators. I have turned on the switch in the options to enable Runtime output, but still do not get the .locb. I'm using v10.3.1 Advanced license.
... View more
01-30-2017
01:57 PM
|
0
|
1
|
626
|
POST
|
I have a composite locator that uses two address lookups, and a single field lookup against a custom intersection table the customer has created. All of the searches work individually, and they cascade through correctly when I run the locator in ArcMap. When I use the locator in an app we have that runs in the .Net SDK, however, I get the following very generic error: Error initializing locator services: One or more of the locator's properties is invalid I would think that if the properties were invalid, they would also be invalid in the ArcMap version. Has anyone seen this or something like it? Thanks
... View more
01-30-2017
12:32 PM
|
1
|
2
|
1097
|
POST
|
That’s what I was afraid of, and seems to be the consensus… Thanks though. Mikkel
... View more
08-25-2016
08:45 AM
|
0
|
0
|
425
|
POST
|
Even though we have installed WAB Dev on a server where multiple developers can access the site (so using the same installation directory and app code directory), the apps generated by one user are not visible to other developers. There is a link below where someone has submitted an idea to ESRI to make sharing possible, but I have yet to see an implementation in practice that works, other than transferring files around manually. As mentioned in that thread, it is common to have multiple developers working on the same project, needing to pick up where someone else left off, or just doing some testing. If anyone has come up with a solution, any ideas would be greatly appreciated. https://community.esri.com/ideas/11292
... View more
08-25-2016
07:55 AM
|
0
|
2
|
804
|
DOC
|
Thanks Rickey – I’ll give that a try when I have some spare time. Mikkel
... View more
08-09-2016
02:00 PM
|
0
|
0
|
6619
|
DOC
|
Unfortunately, no – I gave up on the PrintPlus widget for the time being. Mikkel
... View more
08-08-2016
02:38 PM
|
0
|
0
|
6619
|
DOC
|
Unfortunately, I have not gotten any solution to the problem so far. At this point, not having time myself to go in and attempt to debug the widget, I’ve suggested to my client that they go back to using the out of the box print tool. That doesn’t give the nice outline like Print Plus does (sometimes), and they’re not overly excited about the ESRI tool, but without time to spend on it, that may be the case. I’m still hoping that someone on the forum does have a suggestion that gets it back to normal, as that would be ideal. Good luck, Mikkel
... View more
06-01-2016
12:45 PM
|
0
|
0
|
7926
|
POST
|
Update on this - Robert was right in that it was a cross domain issue, since my two localhost apps had different port numbers. Since my end solution will all be on the same web server though, I just wanted to work around this in testing rather than create a proxy for the dev environment only. I found another solution, where I just had to modify the ApplicationHost.config file in my IIS Express settings. I added the two Access Control lines below to enable cross domain access with my IIS Express, and now the response gets handled normally. <httpProtocol> <customHeaders> <clear /> <add name="X-Powered-By" value="ASP.NET" /> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Headers" value="Content-Type" /> </customHeaders>
... View more
05-12-2016
09:55 AM
|
0
|
0
|
1215
|
POST
|
Thanks for the tip. I'll try to add these sites to the proxy that I use for connecting locally hosted WAB apps through to services in AGOL - at least I'm assuming it's the same one. I'll let you know how it goes.
... View more
05-12-2016
09:07 AM
|
0
|
1
|
1215
|
POST
|
I have built a web service running locally that will send an excel file back as part of the request. If I put the URL directly in a browser, I get the file as an attachment as expected. http://localhost:6993/api/ExportFile/?inString=urlString&jsonData=urlData I am trying to call this from a button click that I have added to a customized attribute table. At this point, I'm not passing 'real' data but simply trying to get the test file to be downloaded in the WAB app. If I'm running the service in debug, I do hit the breakpoint in the service with the values passed in the following esri.request call. Fiddler indicates that the call sends back a 200 status, so the service seems to be ok. The problem is that it seems to die in the esri request side - neither my success nor failure gets handled by the javascript. Any ideas on what I need to change in the ESRI Request call would be greatly appreciated. Note that if I do the export to CSV that is built in to the attribute table that has no problem streaming a file as an attachment. var exportURL = this.config.exporttoexcelservice; var list = esriRequest( { url: exportURL, //content: { f: "json", "jsonData": this.getCurrentTable() }, content: { f: "json", "inString": "New Data Value", "jsonData": this.getCurrentTable().grid }, handleAs: "blob", callbackParamName: "callback", timeOut:20000, }); list.then( //lang.hitch(this, function (response) { console.log("Success from Export: ", response); }, function(error) { console.log("Failure on Export: ", error.message); }//) );
... View more
05-11-2016
09:09 AM
|
0
|
3
|
2963
|
POST
|
We have developed a redline tool in WAB for a client that creates objects in feature classes through a feature service. It all works great, until we put it on the client machine where we have proxy set up with AGOL to do the authentication. I've tracked down in F12 tools that the offending line of javascript is creating a function to handle the promise returned from a portal object's 'load' function, so that we can get a list of the groups the user has access to (see below). Without using the proxy for the WAB app, it works perfectly and flows through the .then functions as expected - but the users are forced to log in a second time when the open the app from AGOL. If I configure the proxy to handle this app, the app itself will load and run fine (maps display, etc), but when the widget is opened, a generic javascript syntax error with no indication of source line is thrown. The error occurs when stepping through when the on(aPortal, load... is executed. Is there a different method for accessing the user's AGOL groups that needs to be used in cases where a proxy is set up for the app? I've tried adding the portal url to the proxy.config (which seemed like cirucular logic anyhow) but that did not change things at all. on(aPortal, "load", function(p) { p.signIn().then(function() { var aUser = p.getPortalUser(); myself._username = aUser.username; var searchParams = { q: "orgid:" + p.getPortalUser().orgId, num: 100, sortField: "title" }; p.queryGroups(searchParams).then(function(data) { var aGroup = null; // // Populate the group map. // for (var i in data.results) { aGroup = data.results; myself._groupIdNameMap[aGroup.id] = aGroup.title; } myself._buildGroupVisibilityControl(); }); }); }); Thanks in advance, Mikkel
... View more
05-04-2016
01:21 PM
|
0
|
0
|
2477
|
Title | Kudos | Posted |
---|---|---|
1 | 08-04-2017 08:50 AM | |
1 | 02-01-2017 08:58 AM | |
1 | 01-30-2017 12:32 PM | |
1 | 12-17-2015 03:10 PM |
Online Status |
Offline
|
Date Last Visited |
02-28-2024
12:30 PM
|