BLOG
|
Hey Matt, Thanks for the response. The problem is that because the attachment files are stored in AGOL, the individual attachment files have to be retrieved using the HTTP get file module one at a time from the iterator. That’s why there are three operations. The Aggregator doesn’t seem to be able to combine the results of the input operations into a single array. Thanks, Frank
... View more
09-24-2020
09:47 AM
|
0
|
0
|
8723
|
BLOG
|
Hey, Have you checked with your Microsoft 365 Email admin to make sure that the connection to it is valid?
... View more
09-23-2020
02:04 PM
|
0
|
0
|
8723
|
BLOG
|
This works great for one attachment, however with two or more attachments you have to use the Integromat array iterator module to retrieve each attachment. When these are pasted to the HTTP module to get the file they become three operations that gets pasted to the integromat array argregator which ends up with three emails verses one email with three attachments. The integromat array argregator module doesn't combine operations into a single array. How do you combine the files back into a single array to be used as an email attachment? Thanks, Frank
... View more
09-23-2020
02:01 PM
|
1
|
0
|
8723
|
POST
|
HI Thomas, Thanks so much for the information. I have disabled Windows Authentication for the web server and the default web site, and after some time testing, it seems to work. Thanks again for your help. This has been a bit of an issue for us when using Portal. Best Regards, Frank
... View more
04-13-2020
05:25 AM
|
0
|
1
|
1002
|
POST
|
HI Thomas, Here’s the way we have authentication set up below. Let me if you think there are changed that we need to make. Best regards, Frank When you are prompted what type of credentials do you provide (e.g. Windows)? I’m really not sure. The prompt includes the URL to our web server. Sometime using Windows credentials works. We’re using Windows authentication for our Portal. Sometimes you can select “Cancel” and you stop getting prompted for a while. Is Anonymous Authentication or Windows Authentication enabled at the following levels: Web Server Anonymous Authentication - Enabled Windows Authentication - Enabled Default Web Site Anonymous Authentication - Enabled Windows Authentication - Enabled Portal Web Adaptor Anonymous Authentication - Disabled Windows Authentication - Enabled Server Web Adaptor (Host ArcGIS Server) Anonymous Authentication - Enabled Windows Authentication - Disabled
... View more
04-09-2020
09:11 AM
|
0
|
3
|
1002
|
POST
|
Why in Enterprise (onsite Portal) do I have to keep entering my credential every time I change the page. Here are some examples: move from Content page to Groups page; in a web map and trying to add a layers; try to go back to the Content page from a web map, trying to save a web map, etc.? Eventually, I get locked out. It seems like it's coming form the browser. Is this an IIS issue or a Portal issue? Our Portal is using Windows Authentication. Any help would be greatly appreciated.
... View more
03-25-2020
12:35 PM
|
0
|
5
|
1067
|
POST
|
This question relates to an ArcGIS Server 10.7.1 implementation. When trying the start a service, the following error occurs: I have discovered ten services that have corrupted lifecycleinfos.json file. The file is full of unreadable characters. I'm assuming this is the problem, because all other json files associated with the services are readable and have '{' as the first character in the file. A typical lifecycleinfos file will look something like this: {"lifecycleinfos":[{"user":"","timestamp":1574799175960,"type":"created"},{"user":"terra","timestamp":1575300630973,"type":"started"}],"lastmodified":1575300630973} I've tried to republish the services, but they can't be republished. There is an "ERROR 001369: Failed to create the service" error. I've also tried to stop or delete the services in the Server Manager, but they can't be deleted for a similar error Failed to stop one or more services: A JSONObject text must begin with '{' at character 1 of. Here is the file location for lifecycleinfos.json i arcgisserver -> config-store -> services -> service folder -> service.MapServer -> esriinfo There is a lifecycleinfos.json.rlock file as well. Is there a way to repair the lifecycleinfos.json file? Thanks.
... View more
12-02-2019
10:47 AM
|
0
|
2
|
2136
|
POST
|
Hi Allen, Thanks for the information. I'll see about switching to an AD account with the correct privileges. Hopefully, that will fix the problem. Frank
... View more
09-12-2019
01:34 PM
|
0
|
1
|
4248
|
POST
|
I'm having the same issue with a 10.7.1 upgrade from 10.6.1. I'm using Chrome, and I only have one service running. I did make sure that the local account had full access to the Server, arcgisserver and python directories.
... View more
09-12-2019
01:24 PM
|
0
|
3
|
4248
|
POST
|
Hi Uma, The LayersAddedEvent class worked. Thanks for the succession. protected override bool Initialize()
{
ArcGIS.Desktop.Mapping.Events.ActiveMapViewChangedEvent.Subscribe(MapViewActivateEvent);
ArcGIS.Desktop.Mapping.Events.LayersAddedEvent.Subscribe(LayerAddEvent);
return true;
}
private void LayerAddEvent(LayerEventsArgs args)
{
try
{
foreach(var newLayer in args.Layers)
{
if (newLayer.Map == MapView.Active.Map && newLayer is BasicFeatureLayer)
{
updateEventLayers(newLayer);
//var layerAddString = "Layer added event";
//MessageBox.Show(layerAddString, "Caption");
}
}
}
catch (Exception ex)
{
var ErrorString = ex.Message;
//MessageBox.Show("An tttterror occurred while updating attribute column data " + ErrorString);
}
}
... View more
08-21-2019
11:10 AM
|
1
|
0
|
2082
|
POST
|
I'd like to create an ArcGIS Pro Add In that an event can be used to trigger some code execution when a layer is added to a map. Is this possible? I was unable to locate an event in the SDK, or I'm looking for the wrong thing. Thanks for your help. Regards, Frank
... View more
08-16-2019
12:38 PM
|
0
|
2
|
2699
|
POST
|
Thanks to everyone for their suggestions. I used Than's suggestion to subscribe to the ActiveMapViewChangedEvent in the module (se below), and it works. Now, when a project loads the add in code is executed immediately without having to activate it through a button. I used Uma's suggestions to "hide" the button by setting the the loadOnClick attribute to false in the button definition. Again, thanks to everyone for their help! Regards, Frank protected override bool Initialize()
{
ArcGIS.Desktop.Mapping.Events.ActiveMapViewChangedEvent.Subscribe(MapViewActivateEvent);
return true;
}
private void MapViewActivateEvent(ActiveMapViewChangedEventArgs obj)
{
try
{
var layerEventListeners = new List<string>();
var featureLayers = mapView.Map.Layers.OfType<FeatureLayer>();
...
}
...
}
... View more
08-16-2019
09:14 AM
|
0
|
0
|
1501
|
POST
|
Uma, Thanks. I've changed both the autoLoad and loadOnClick as you suggested, however, the button code does not execute until the button has been click. <modules>
<insertModule id="EditRBIDGeneratorPro_Module" className="Module1" autoLoad="true" caption="Module1"> <button id="EditRBIDGeneratorPro_Button1" caption="RBID Activate" className="Button1" loadOnClick="false" ...>
<tooltip heading="RBID Activate Tooltip">Click to ensure the automatic addition of a RBID during edit sessions<disabledText /></tooltip> The code I'm trying to execute is within the the OnClick function. Is that the issue? namespace EditRBIDGeneratorPro
{
internal class Button1 : Button
{
private Incrementor uid;
protected override async void OnClick()
{
try
{
var mapView = MapView.Active;
if (mapView == null)
{
var startString = "No map view";
MessageBox.Show(startString);
}
var featureLayers = mapView.Map.Layers.OfType<FeatureLayer>();
....
}
catch (Exception ex)
{
var ErrorString = ex.Message;
MessageBox.Show("An error occurred while updating attribute column data " + ErrorString);
}
} Thanks again, Frank
... View more
08-12-2019
10:00 AM
|
0
|
2
|
1501
|
POST
|
I have an ArcGIS Pro 2.4 add in that I would like to have execute after a project is loaded, but does not require the user to click a button or select a tool. Essentially, it would act like a onload function. Is there any way to accomplish this with an add in? Thanks for your help, Frank
... View more
08-12-2019
06:47 AM
|
0
|
6
|
1616
|
POST
|
Thanks, Sean. I thought that might be the case. I'll give the collection a try. Thanks again, Frank
... View more
08-12-2019
06:41 AM
|
0
|
0
|
519
|
Title | Kudos | Posted |
---|---|---|
1 | 10-11-2023 07:30 AM | |
1 | 05-27-2022 10:26 AM | |
2 | 02-07-2023 07:53 AM | |
2 | 04-08-2022 09:17 AM | |
1 | 09-23-2020 02:01 PM |
Online Status |
Offline
|
Date Last Visited |
08-01-2024
03:46 PM
|