|
POST
|
Basically I don't want to "hijack" and take over the user's active portal (i.e. the one setup by the user through the Pro UI) because it could be their company's own portal and it's useful to them in session. I want my code to be able to login to a portal different from the user's active one (their company's portal) and do some things without affecting the user's portal that they currently think they are still connected to in that session. So if I did some code like this: var someOtherCompanyUri = new Uri("http://someothercompany.com/portal/", UriKind.Absolute);
var someOtherCompanyPortal = ArcGISPortalManager.Current.AddPortal(someOtherCompanyUri);
ArcGISPortalManager.Current.SetActivePortal(someOtherCompanyPortal); Will this change the user's active portal that was setup up by them through the standard UI of ArcGIS Pro? Effectively kicking them off their company's portal say? If it does, is there a way to get round this?
... View more
02-12-2020
09:46 AM
|
0
|
9
|
2720
|
|
POST
|
Thank you Neil - you've helped me on and off for 20 years now!!
... View more
12-12-2019
05:34 AM
|
0
|
0
|
1414
|
|
POST
|
I can store a layerX file in Portal and access from my Pro Client with it's item ID: Item testLayerLryx = ItemFactory.Instance.Create(lyrxId, ItemFactory.ItemType.PortalItem); Great. However - can I use this object to apply symbology from the layerX entity to an existing layer already loaded into Pro. It looks tricky as the constructor only seems to accept a filepath and a CimLayerDocument. LayerDocument layerDoc = new LayerDocument(); - but I may going down the wrong path in any case. Also, the LayerFactory only makes layers, but I can't see anything similar for layer files. Anyway, any help - much appreciated.
... View more
11-25-2019
03:33 AM
|
0
|
2
|
1278
|
|
POST
|
Hi, How would you go about trying to access the data from a ViewModel (belonging to a ProWindow) from another ViewModel? I have tried to find some way of doing it via the FrameworkApplication - in the same style as the DockPaneManager - but alas there does not seem to be an equivalent for a ProWindow. Should I hold a reference to the ViewModel in the Module class?
... View more
11-14-2019
06:21 AM
|
0
|
1
|
1075
|
|
POST
|
Hi Uma, Many thanks - that's super helpful, simple I know, but I done some things the same as what you have done and some other things I didn't know about (e.g. a RelayCommand already exists to make use of). Really appreciated!!
... View more
11-04-2019
08:19 AM
|
0
|
0
|
2278
|
|
POST
|
Sorry, I'm getting totally confused with WPF and how it works with MVVM and ESRI's SDK. I need to know where the most helpul, most appropriate resources are for this kind of development. At the moment I'm getting hung up over Commands and ArcGIS.Desktop.Framework.Controls.ProWindow. It's just a simple user login interface and trying to figure out how the Login button should activate/light up. Obviously I want to enable it when the user enters a username and password - but it's so confusing when you try to implement a command - Should I just use simple code behind? Should I build out an elaborate MVVM solution of my own making? Should I use Prism or ActiPro or some other 3rd Party library? When you start binding objects its hard to know which way you should bind, do you do it all in the XAML or all in code or a bit of both, what is the right way? There is no obvious way despite looking at tons of different tutorials and videos on the subject. Everyone has a slightly different way of doing things. Main Question How do you pass a binded object for evaluation through the command implementation? That is, the object is a "User" which is the Model (wrapped up in the ViewModel class) and has properties or Username, Password, PortalUrl - the UserViewModel comprises the User object and exposes it's inner properties of the User object so it can bind - but then I find it confusing trying to use a Command to check the object to see if its valid (i.e. completed out username/password/portalurl). Maybe I am over complicating things for something this simple, but on the other hand I want to do things the right way and not just hack something together. In the end I will be putting together a more complex UI and I will need to know this stuff in any case so I may as well learn it now with something simple. If anyone can help put me on the right track I would appreciate it.
... View more
10-31-2019
08:12 AM
|
1
|
2
|
2586
|
|
POST
|
Hi, I was just wondering why I have to use PropertyChangedBase vs INotifyPropertyChanged when creating my viewmodel. With normal vanilla WPF programming it's always INotifyPropertyChanged so there must be something special about PropertyChangedBase.
... View more
10-28-2019
07:16 AM
|
0
|
1
|
2446
|
|
POST
|
Hi Tanu, sorry for the late reply (I didn't recieve a notification or didn't notice one). The workflow is to browse several hundred map services - inside each one there may just be Feature Layers published, or rasters, all in all there are tens of thousands of individual layers. The user is not aware of all these hundreds of map services - the UI in Pro hides this all away. All they are presented with is a nice UI in Pro - which allows them to query layers spread accross all the map services - from there they can filter down and pick some (or just one) layers of interest (I mean that in a generic sense i.e. can be either raster or feature layer type) - then they ask those layers to be added to the Map in Pro. The code behind does things like searching and caching what it has found amongst the map services - all via REST api calls - in the end the specific layers are found and then added to the Map view inside Pro. The user is not anything fancy with the layers - it's a means to view and inspect some of the attribute data perhaps - but certainly no advanced geoprocessing tasks or anything like that. It's essentially a huge data repository stored in the cloud via Portal. Thats the workflow - it's not complicated as you can see - it's just basically find me data and show it in Pro. Data stored centrally in the cloud/ArcGIS Enterprise. I look forward to your thoughts.
... View more
08-15-2019
07:36 AM
|
0
|
1
|
1309
|
|
POST
|
Hi, I have a map service with WMS capability. It has several Feature Layers published within. I only have ArcGIS Server running (10.6.1) and I have implemented IWA as the security. In ArcGIS Pro 2.4 I want to in C# using the SDK, add a Feature Layer from this WMS service into ArcGIS Pro. Can anyone share a snippet on how I would go about doing this. Thanks.
... View more
08-15-2019
06:47 AM
|
0
|
1
|
915
|
|
POST
|
Can the daml schema be modified so that "condition" is not even an option for dockpanes. Have a wasted a few hours on this because I can use "condition" and there is nothing to stop me doing so.
... View more
06-26-2019
06:29 AM
|
0
|
0
|
1893
|
|
POST
|
Hi, Uma I would really appreciate a more detailed response to this as it is critical to the project I am currently on with. Kind regards. Simon.
... View more
05-13-2019
06:48 AM
|
0
|
0
|
1309
|
|
POST
|
Hi Uma, That's interesting, I'm wondering if you can tell me why this is the case, what's the thinking behind designing the map service in such a way - bearing in mind you have this behaviour if you toggle WMS for the map service or if you work with a map service which has published featureclasses. Kind regards Simon.
... View more
05-08-2019
08:28 AM
|
0
|
0
|
1309
|
|
POST
|
Thanks for your reply - as you can see I have updated my code and modified the question slightly - I know how to add a single layer from a service but I still fail to add a raster based layer - it is always null and nothing appears in the map view - can you help with that?
... View more
04-18-2019
01:53 AM
|
0
|
1
|
1309
|
|
POST
|
Yes, I created the services with ArcMap and there is a File Geodatabase backing the Map Services - but I don't want to access the FGDB - as it takes too long to connect and open it up.
... View more
04-17-2019
07:16 AM
|
0
|
0
|
2311
|
|
POST
|
I want the data to be stored centrally (on a hosted server) not via a Geodatabase or ArcSDE, that's why I thought ArcGIS Portal should work.
... View more
04-17-2019
06:46 AM
|
0
|
0
|
2311
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 12-18-2023 10:11 AM | |
| 1 | 08-22-2025 02:27 AM | |
| 2 | 12-19-2023 01:36 AM | |
| 1 | 12-21-2023 04:02 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|