POST
|
Hi anything new here? Esri is again doing its espionage job and stays silent! In opposite to ESRI, the freaking signing exe does throw dialogs instead of error out messages in /s silent mode. On top of that when wanting to sign existing file it says the file does not exist and does not sign it with /c and /n switches, if I dont include any switches, it shows Machine Certificates and signs the file no sweat. With /s of course. that is the best cure for you pipeline. Congrats Esri once again!
... View more
01-27-2023
04:49 AM
|
0
|
0
|
432
|
POST
|
You are right, but you have to be using and implementing Enterprise SDK, we are using ArcObjects for Server and the groups are on portal. But I opened the ServerUtilities in DLL viewer and they have pretty standard way of getting the groups from portal REST api with the help of properties.GetProperty("OwningSystemPrivateURL") and appending the "/sharing/rest/community/users/" So basically the way we are doing it anyway.
... View more
03-08-2022
04:50 AM
|
0
|
0
|
616
|
POST
|
03-07-2022
05:13 AM
|
0
|
2
|
622
|
POST
|
Hello, Is there a way to get from Enterprise SDK's IServerUserInfo.Roles groups that are not on server but on the parent Portal? otherwise the SDK does not offer any other method. I know there is a REST API on portal, but for that i would need to get a token for portal in SOI, which is not possible. Thanks for help!
... View more
04-20-2021
06:35 AM
|
0
|
4
|
893
|
POST
|
Thank you both for great sources and quick help! The Update Dataset GP tool command solved my problem! Cheers Petr
... View more
01-18-2021
01:54 AM
|
0
|
0
|
1148
|
POST
|
Hello, I'm trying to go through layers in projects and I have an imported project from ArcMap with annotations and I'm trying to get the AnnotationFeature from AnnotationLayer that has AnnotationSubLayers, but i keep getting Feature object. Does anyone have a valid code and data example? Thank you! Here is what I have and something is wrong: //this finds 3 Annotations in view extent (I can see in GUI it has same TextString, different AnnotationClassId,SymbolID)
SpatialQueryFilter qf = new SpatialQueryFilter();
qf.FilterGeometry = viewExtentGeometry;
qf.SpatialRelationship = SpatialRelationship.Intersects;
...
if (_lyr is AnnotationLayer alr)
return ConsumeCursorAnnotation(alr.Search(qf));
...
/// this returns null when casted to AnnotationFeature
private IEnumerable<AnnotationFeature> ConsumeCursorAnnotation(RowCursor featureCursor)
{
while (featureCursor.MoveNext())
yield return featureCursor.Current as AnnotationFeature;
}
... View more
01-13-2021
05:25 AM
|
0
|
3
|
1204
|
POST
|
Hi there, does anyone know how to get language packs for ArcGIS Pro so I can test the localization? and how to get the culture in which the ArcGIS Pro is running? thanks for any help! Petr
... View more
11-27-2020
08:06 AM
|
0
|
1
|
2568
|
POST
|
Hi Kirken, have you found where to get these language packs? Esri guards all the freaking information where to download anything. The site is a huge maze:( Thanks!
... View more
11-27-2020
07:49 AM
|
0
|
1
|
1454
|
POST
|
I would like to ask ESRI stuff when they are going to fix the bug where SOE returns https status code 200 always. It breaks all the js frameworks that use SOE REST interface. The best practice would be to control what code and how the error message would look like other than error: { code: message: } We do not use pjson , that is accepting 200 only. There are other output formats that need correct behavior. Thank you!
... View more
09-07-2020
01:04 AM
|
0
|
0
|
787
|
POST
|
Hi, I have a pretty uncertain error when asking for UserInfo from IServerEnvironment from EnvironmentManager class. System.InvalidCastException: Unable to cast object of type 'System.__ComObject' to type 'ESRI.ArcGIS.esriSystem.EnvironmentManagerClass'. EnvironmentManager environmentManager = new EnvironmentManager(); UID environmentUid = new UID { Value = "{32d4c328-e473-4615-922c-63c108f55e60}" }; var environment = (IServerEnvironment3)environmentManager.GetEnvironment(environmentUid); It fails at the first line. My environment is Server 10.6.1 with Portal and Windows credentials SSO from our domain. Sometimes it works, most of the time it fails. I'm pretty desperate, I hate these uncertain COM errors.
... View more
12-17-2018
04:24 AM
|
0
|
1
|
1699
|
POST
|
The big problem comes when the map is rotated, I have spent two days figuring out how to limit the rotated viewpoint to nonrotated maximumextent to satisfy the GeometryEngine.Within() but I am still unlucky. Esri should definitelly implement this functionality! Thanks!
... View more
10-24-2018
06:14 AM
|
0
|
0
|
1720
|
POST
|
Hello, I think after 7 years of suffering with text\plain, Esri could finally accept the standard What is the correct JSON content type? - Stack Overflow also when setting the content type in SOE and then calling the request with f=json i always get invalid text\plain instead of my application\json. So pretty please with sugar on top, fix the bug Petr
... View more
05-09-2017
04:36 AM
|
2
|
3
|
1633
|
POST
|
HI Ajit do you know by any chance how to get more information from the AGS about the User or Roles? I need Role's title to work with it, not role ID. I found that there is some method ESRI.ArcGIS.Server.IRoleStore.GetRolesForUser() or other methods on that inteface. But I have no clue how to get hold of that instance in my SOE. Thanks for any help! Petr
... View more
11-10-2016
06:31 AM
|
0
|
5
|
745
|
Title | Kudos | Posted |
---|---|---|
2 | 05-09-2017 04:36 AM |
Online Status |
Offline
|
Date Last Visited |
01-30-2023
12:22 PM
|