POST
|
Thanks a lot Robert, the example is really helpful but I am not able to capture the extent.
... View more
11-19-2017
10:55 PM
|
0
|
13
|
1558
|
POST
|
Hi, I am working with ArcGIS javascript 4.x. In my current requirement I need to add bookmark to my map but in 4.x version of Javascript I am not able to capture the extent as well as the default bookmark functionality is not available. Any leads on this will be of great help. Thanks Aditya Kumar
... View more
11-17-2017
10:40 PM
|
0
|
16
|
3489
|
POST
|
I am trying to find a TOC in 4.x similar to that of 3.x(https://www.arcgis.com/home/item.html?id=98d9e760d6d1496487ca583b0e8ce73c ). Any suggestion will be helpful. Thanks Aditya kumar
... View more
10-25-2017
05:43 AM
|
1
|
0
|
565
|
POST
|
Hi Users, i am trying to fetch SSL details using the REST API. Following is the code I have written username = "admin" password = "admin" url = "https://testmap.com/arcgis/portaladmin" sh = arcrest.AGSTokenSecurityHandler(username=username, password=password, token_url=url+ '/tokens/', proxy_url=None, proxy_port=None) I am able to make connection to the portal through this.Now I need to use the REST API https://tesmap.com/arcgis/portaladmin/security/sslCertificates/ so that I can print the details. Any help on this will be useful. Thanks Aditya Kumar
... View more
01-09-2017
06:02 AM
|
0
|
1
|
1062
|
POST
|
I was able to get al the details. But I am not able to segregate the details. Like expiry date,issued date,serial number. Any idea?
... View more
12-29-2016
09:22 AM
|
0
|
2
|
1180
|
POST
|
Thanks a lot Randy Butron and Joshua. It really helped and its working.
... View more
12-15-2016
04:42 AM
|
0
|
0
|
1180
|
POST
|
Hi team, I am working on portal.py. I am trying to get the details of SSL certficates which the portal is using. I have tried with some code but nothing is working. Any suggestion on this will be helpful. import sys
sys.path.append('..')
import portalpy
import csv
import ssl, socket
portalUrl = "https://xxx-xxx.xx.xx.com:7443/arcgis"
portalAdminUser = "xxxx"
portalAdminPassword = "xxxx"
portal = portalpy.Portal(portalUrl, portalAdminUser,portalAdminPassword)
users = portal.search_users('(role:account_admin OR role:account_publisher OR role:account_user)')
activeUser = portal.logged_in_user()
print activeUser['email']
ctx = ssl.create_default_context()
s = ctx.wrap_socket(socket.socket(),server_hostname='http://xxx-xxx.xxxx.com/arcgis/home/')
s.connect((portal, 443))
cert = s.getpeercert()
print cert
Thanks Aditya Kumar
... View more
12-14-2016
08:16 AM
|
0
|
11
|
2721
|
POST
|
function onRowClickHandler(evt) { var clickedId = evt.grid.getItem(evt.rowIndex).OBJECTID; if (AssetSelected == "XXX") { var selectedFeature1 = new dojo._base.array.filter(DREAM_2D_Feature_Well.getSelectedFeatures(), function (graphic) { return ((graphic.attributes) && graphic.attributes.OBJECTID === clickedId); }); }}
... View more
05-11-2016
10:31 PM
|
0
|
1
|
377
|
POST
|
HI Users, I am following this example.Show find task results in a DataGrid | ArcGIS API for JavaScript But after some number of search if i click on the grid it throws me the following error. 0x800a138f - JavaScript runtime error: Unable to get property 'toJson' of undefined or null reference And I am not able to zoom to the location. Any idea what is creating trouble here. Thanks Aditya Kumar
... View more
05-11-2016
10:23 AM
|
0
|
3
|
1599
|
POST
|
if (grid.selection.selectedIndex >0) { grid.selection.clear(); grid.selection.addToSelection(newItemIndex); grid.selection.getFirstSelected(); }
... View more
05-11-2016
10:08 AM
|
0
|
0
|
576
|
POST
|
Hi Users, I have a data grid and I am using Query task to perform query. I have changed the grid to enhanced grid so that I can get check box there. The issue I am facing is whenever I perform a query the data gets populated, and suppose I select second and third row in grid after this I perform another query the data will get changed but selection will remain same.i.e for the new result also 2nd and 3rd row will be selected by default. Any Idea why the selection is not getting removed during data change. Thanks Aditya Kumar
... View more
05-11-2016
07:55 AM
|
0
|
3
|
1313
|
POST
|
Hi Users, I am performing Query task . function execute(searchText, AssetSelected, SearchField) { query.where = SearchField + " LIKE('" + searchText + "%')"; queryTaskQS.execute(query, showResultidentify); } I am passing all the query as SAMPLE(uppercase) but we do have some values which are not in uppercase like "Sample", "SAmple","sample". In these cases the query is failing for me. Is there any way where like operator wil work for all values "SAMPLE", "SAmple" ,"Sample" and "sample". Thanks in advance Regards Aditya Kumar
... View more
05-03-2016
07:40 AM
|
0
|
2
|
2543
|
Title | Kudos | Posted |
---|---|---|
1 | 10-07-2021 04:11 AM | |
2 | 08-19-2020 06:11 AM | |
1 | 10-25-2017 05:43 AM | |
1 | 11-18-2015 11:14 PM |
Online Status |
Offline
|
Date Last Visited |
12-08-2023
12:01 AM
|