|
POST
|
Sorry - posted with "wrong" account above. Anyway, it goes back to the original issue. Popups not working in Explorer for specific layers. I'm going to try again, with a very simple version of the layer - no field aliases at all - just to see if that is the case. Cheers ACM
... View more
05-23-2019
01:10 AM
|
0
|
1
|
1574
|
|
POST
|
Sorry for hijacking thread, but I'm trying to do what David said would be the better option "generating a token with a longer life if you can" - I want to only ask the users for ID once, ever, well, in practice once a decade (see https://community.esri.com/thread/225898-identity-manager-ask-once-a-decade-for-username) I have put a very long "expires" in, and my "IdString" that gets sent to the Identity Manager is {"serverInfos":[{"server":"https://mymaps.com/arcgis","tokenServiceUrl":"https:/maymaps.com/arcgis/tokens/","adminTokenServiceUrl":"https://mymaps.com/arcgis/admin/generateToken","shortLivedTokenValidity":10080,"currentVersion":10.31,"hasServer":true}],"oAuthInfos":[],"credentials":[{"userId":"myname","server":"https://mymaps.com/arcgis","token":"BOiXMC8EfP36sEMIOXs18HwjcEnRy0n1qPeIA4ukkuo.","expires":1735689600000,"validity":5256000,"ssl":false,"creationTime":1556203552770,"scope":"server","resources":["https://mymaps.com/arcgis/rest/services/LIVEinternal/EH_tasks/MapServer"]}]} But it still "forgets" by the next day. Any ideas? Cheers ACM
... View more
04-25-2019
07:59 AM
|
0
|
0
|
2050
|
|
POST
|
Additional: I added a console.log(idJson) to the loadcredentials function, and it returns the details, but still I get the login box poping up. i thought the whole idea was to get away from this. have i missed something here?
... View more
12-13-2018
06:52 AM
|
0
|
0
|
1060
|
|
POST
|
Hi I am using a page derived from this sample, but want the saved credentials never to expire. The only users of the site will be on work ipads that are so locked down, any other security isn't required, but the service needs to be a secure one, plus I use the saved username to filter the secure layer, so they see only their cases. I have tried adding this esriId.credentials[0].expires = 1735689600000 (the time is a date about 10 years away) To the function that stored the data, but next day I still get challenged. Any ideas? Cheers ACM
... View more
12-13-2018
06:09 AM
|
0
|
2
|
1182
|
|
IDEA
|
Currently when you republish an ArcGIS Server service there is a loss in user access to the service - for large services this could be up to 5 minutes. So, a solution, a bit like IIS AppPool Recycling AGS gets changed to have a unique number for each version of each service - so republishing changes this AGS has a look up table, so when requests for "MyService" comes in it looks up this unique number and passes requests on to that service When a service is republished, this will publish the service to a new number When the service is completely published all new requests get directed to new service - this should be a almost instant change as it changes just one field in one record in a system table. When all requests to old service have been completed that service is removed This will cut our overtime bill down, as we have several services that only get restarted out of working hours. Cheers ACM
... View more
08-23-2018
02:53 AM
|
4
|
0
|
722
|
|
POST
|
Hi I have a daily task that Truncates then re-appends about 250K records to a table. This part takes around 2 hours. I is faster if going to a file geodatabase, but I am going to a SQL 2008 database on a different server - but one in the same data centre, so network issues shouldn't be a problem I have tried creating a new layer, and this take the same time. I have tried removing the spatial index first, and this speeds things up a bit. I guess the time is down to the reindexing after every record is appended. If this was any other database i would drop all Indexes, but I can't drop the OID index. Or, if in T-SQL I would do a Bulk Load So, any other suggestions to improve the time taken - we are currently using a mix of ArcGIS Desktop (Not Pro yet) and can really use any version, but currently this is on 10.3. Any solution will need to be able to be set up in a model and exported to Python. Cheers ACM
... View more
06-25-2018
01:55 AM
|
0
|
0
|
730
|
|
POST
|
OK - just adding some knowledge here - if anyone else is using VMware AppVolumes and having issues running Arcmap whilst provisioning (getting the erro this thread is about) then I found disabling the VMWare SVGA 3D card enables you to run.
... View more
02-24-2018
08:43 AM
|
1
|
0
|
5987
|
|
POST
|
Yep. And with widget.blur(). Odd. Changing the actual text in the non-active buttons is instant, but I guess as the Tick marker is CSS controlled it needs some event to trigger the refresh. I guessing. Anyway, all working - I never claimed any of my "code" is elegant! Many thanks
... View more
02-19-2018
11:56 PM
|
0
|
0
|
681
|
|
POST
|
OK - in case anyone wants the full answer this is the AMD version of the function function toggleButtonIcon(tool) {
var domNodes= query('.dijitToggleButton', this.domNode);
domNodes.forEach(function(domNode){
var widget= registry.getEnclosingWidget(domNode);
if (widget == tool) {
dojo.attr(widget, "checked", true);
} else {
dojo.attr(widget, "checked", false);
}
widget.focus()
})
tool.focus()
} Not only does it now use the dojo query, but it also needed a focus() to make only one appear active - the hack way I've done it is to set the focus to each of the results ond then at the end set it back to the one clicked - there maybe a better way, but this works.
... View more
02-19-2018
12:04 PM
|
1
|
2
|
681
|
|
POST
|
Sorry, missed your reply - I had edited earlier post. yes setting checked "works" so code is now function toggleButtonIcon(tool) {
var domNodes= query('.dijitToggleButton', this.domNode);
domNodes.forEach(function(domNode){
var widget= registry.getEnclosingWidget(domNode);
if (widget == tool) {
dojo.attr(widget, "checked", true);
} else {
dojo.attr(widget, "checked", false);
}
})
} But the tick (the style I have to indicate the checked status" stays put until I mouse over the button - then it goes as the button gets the mouse over effect.
... View more
02-19-2018
09:36 AM
|
0
|
3
|
2484
|
|
POST
|
Yes, I'll do that, and add the final code when done - the logic is workimng, just can't get the old button to uncheck, but I'll work that out (hopefully) - odd the button gets the attribute changed, but the tick I use to show active is still there until I move the mouse over it.
... View more
02-19-2018
09:21 AM
|
0
|
5
|
2484
|
|
POST
|
Doh - Of course, sorry, re-read your last post, plus my code - I was comparing wrong variable "widget" is the one I needed. Cheers
... View more
02-19-2018
09:14 AM
|
0
|
1
|
2484
|
|
POST
|
What is returned by the click event of the button : registry.byId("pan").on("click", function () {
navToolbar.activate(Navigation.PAN);
toggleButtonIcon(this)
}); Is the full object., whilst what gets returned from a dojo query is the node Now, I can return the id of the object - that's easy, but can't seem to find a way of returning the id of the node. Many thanks for your time. Sorry if I am getting terminology a bit wrong/
... View more
02-19-2018
09:11 AM
|
0
|
2
|
2484
|
|
POST
|
Sorry, I should have said - I tried that first. The two things aren't the same - this is doimnode <span class="dijit dijitReset dijitInline dijitToggleButton dijitToggleButtonChecked dijitChecked" role="presentation" widgetid="pan"><span class="dijitReset dijitInline dijitButtonNode" data-dojo-attach-event="ondijitclick:__onClick" role="presentation"><span class="dijitReset dijitStretch dijitButtonContents" data-dojo-attach-point="titleNode,focusNode" role="button" aria-labelledby="pan_label" tabindex="0" id="pan" style="user-select: none;" aria-pressed="true"><span class="dijitReset dijitInline dijitIcon dijitCheckBoxIcon" data-dojo-attach-point="iconNode"></span><span class="dijitReset dijitToggleButtonIconChar">●</span><span class="dijitReset dijitInline dijitButtonText" id="pan_label" data-dojo-attach-point="containerNode">Pan</span></span></span><input type="button" value="" class="dijitOffScreen" data-dojo-attach-event="onclick:_onClick" tabindex="-1" aria-hidden="true" data-dojo-attach-point="valueNode"></span> > Whilst "tool" is a full object - image as easier to show. In the Chrome Console Cheers ACM
... View more
02-19-2018
08:59 AM
|
0
|
4
|
2484
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:14 AM | |
| 1 | 12-01-2023 06:07 AM | |
| 2 | 11-29-2024 04:32 AM | |
| 1 | 05-28-2024 12:50 AM | |
| 1 | 03-16-2023 06:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|