POST
|
Hi Raluca, Sorry for the late response. Here are some data some data you can use for testing. Case#01955480.ppkx - Google Drive The building can display correctly but only with the drawing info. Also, I found that if I publish feature class with z value, the z value actually get stripped off if it is a donuts polygon. We really hope can solve some of the publishing issue with scene layer. thanks,
... View more
11-06-2017
03:50 PM
|
0
|
1
|
167
|
POST
|
I tried to remove the where clause and use a filter after it is resolved. And it works now. I actually tried hack into renderer.requiredFields instead of adding dummy field. I guess it works in the same way. thank you
... View more
10-25-2017
08:49 AM
|
0
|
1
|
825
|
POST
|
Hi Raluca, Thanks for your detailed explanation. Actually, I tried exactly same thing to publish scene layer from pro, but I found the field information is not included when I tried to publish a scene layer using feature service in AGO. Below is a sample back to July this year. The scene layer published from feature service only includes drawing information and no fields info at all. Therefore, I choose to use slpk instead. Do you have any idea why this happens? thanks,
... View more
10-25-2017
08:45 AM
|
0
|
3
|
825
|
POST
|
Hi Thomas, Thanks for the response. I tried to add additional visualVariables to my sceneLayer before the query, and It worked, I can see that my layer.renderer.requiredFields has those additional fields that I added in visualVariables, but still I'm catching errors with queryFeatures(). If I use the sceneLayer.queryFeatures(), it gives me this: If I use its sceneLayerView.queryFeatures(), I got an different error: Thank you
... View more
10-20-2017
12:20 PM
|
0
|
1
|
825
|
POST
|
Hello, I published a sceneLayer to AGOL through a scene layer package. I'm trying to query the scene layer view / this scene layer using queryFeature() method. But I found that none of the attributes support query when I use getFieldUsageInfo(field) to check the field. Since the this scene layer contains a large dataset, I really want to query the layerView instead of the whole layer using queryTask or linked Featurelayer. Does anyone know how can I fix this issue to make the field support query? thanks,
... View more
10-20-2017
09:44 AM
|
0
|
11
|
1550
|
POST
|
Hi Rene, Thanks for the instruction. Similarly, I added my portals in the app esriId.getCredential(info.portalUrl+"/sharing"); The getCredential function now works and showing the AGOL login form However, after the login, nothing happens. esriId.checkSignInStatus(portalUrl+"/sharing").then( function() { //displayItems(); alert("ssss"); }).otherwise( function() { // Anonymous view domStyle.set("anonymousPanel", "display", "block"); domStyle.set("personalizedPanel", "display", "none"); } ); Neither the resolved or rejected function executes after a successful login. Should I change the parameter (portalUrl+"/sharing") to somthing else? Also, after I login and direct to another html page that also requires some feature access, how can I check it is already login and avoid a second login? Whitney
... View more
07-11-2017
11:07 AM
|
0
|
0
|
574
|
POST
|
Hello Rene, thanks for the reply. I tried that already. But the error is the same. I am confused that should I modify the code esriId.getCredential(info.portalUrl + "/sharing") ? I replace this code with window.open('https://www.arcgis.com/sharing/rest/oauth2/authorize?client_id='+clientId+'&response_type=token&expiration=20160&redirect_uri=' + window.encodeURIComponent(redirectUri), 'oauth-window', 'height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes') And it works. But I do not want hard code this directURL. What should I do? Whitney
... View more
07-10-2017
02:11 PM
|
2
|
2
|
574
|
POST
|
Hello, I'm trying to implement OAuth login for my web app. I followed the API sample here : Access ArcGIS Online items using OAuthentication | ArcGIS API for JavaScript 4.4 . It works for me when I open the live demo, but when I download the file and open it in chrome locally. I got this error: How should I fix this? thanks!
... View more
07-10-2017
01:47 PM
|
1
|
4
|
1047
|
Title | Kudos | Posted |
---|---|---|
2 | 07-10-2017 02:11 PM | |
1 | 07-10-2017 01:47 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|