POST
|
look into CMV widgets: cmv-widgets/widgets/Export at master · tmcgee/cmv-widgets · GitHub
... View more
04-17-2020
05:58 AM
|
0
|
1
|
3689
|
POST
|
Given this example, what is the proper way to load/reload saved model? https://nbviewer.jupyter.org/github/Esri/arcgis-python-api/blob/master/samples/04_gis_analysts_data_scientists/automate_… Thank you,
... View more
01-08-2020
01:16 PM
|
0
|
1
|
487
|
POST
|
I have customized the QuickReport to ask for log in after the LandingPage finishes loading (Component.onCompleted). code checks if token is expired and asks to relogin, then token is used thru out the App. Just manually tested token generated thru 'sharing/rest/generateToken', and it still does not work. Thank you,
... View more
01-03-2020
10:32 AM
|
0
|
2
|
585
|
POST
|
The token is generated thru featureServiceManager.generateToken() with users credentials. Where is no errors when the page loads, just says "Map is not available offline","Click to refresh" Also noticed that Authentication Challenges different url if i use username: sharing/rest/content/items/4900f753936e47ddb96d5cc19d0b0be6 vs token: sharing/rest/content/items/4900f753936e47ddb96d5cc19d0b0be6/data Is this has something to do with my problem?
... View more
01-03-2020
09:57 AM
|
0
|
4
|
585
|
POST
|
Hello, Added this code to the RefineLocationPage.qml to be able to use secure webmap's, it works with username and password part, but it does not work with token part. why? Connections {
target: AuthenticationManager // singleton instance
onAuthenticationChallenge: {
console.log("LG-authentication challenge for", challenge.requestUrl)
var user = rot13(app.settings.value("username",""))
var password = rot13(app.settings.value("password",""));
var token = app.settings.value("token","");
if (challenge.authenticationChallengeType === Enums.AuthenticationChallengeTypeUsernamePassword) {
/*var credential = ArcGISRuntimeEnvironment.createObject("Credential", {
username: user,
password: password
});*/
console.log(token);
var credential = ArcGISRuntimeEnvironment.createObject("Credential", {
"token": token
});
//credential.token = app.token
challenge.continueWithCredential(credential);
}
}
} Thank you,
... View more
01-03-2020
06:29 AM
|
0
|
6
|
722
|
POST
|
So, The code works if i use the username and the password from the Quick Report Template App, it does not work if i use token from the App: Connections {
target: AuthenticationManager // singleton instance
onAuthenticationChallenge: {
console.log("LG-authentication challenge for", challenge.requestUrl)
var user = rot13(app.settings.value("username",""))
var password = rot13(app.settings.value("password",""));
var token = app.settings.value("token","");
if (challenge.authenticationChallengeType === Enums.AuthenticationChallengeTypeUsernamePassword) {
/*var credential = ArcGISRuntimeEnvironment.createObject("Credential", {
username: user,
password: password
});*/
console.log(token);
var credential = ArcGISRuntimeEnvironment.createObject("Credential", {
"token": token
});
//credential.token = app.token
}
}
} AppStudio for ArcGIS
... View more
01-02-2020
01:15 PM
|
0
|
0
|
659
|
POST
|
Modifying the AppStudio "Quick Report" App, they are storing the token as string. the token works properly if i add single feature layer with: Credential{
id: creds
token: app.settings.value("token", "")
}
FeatureLayer {
id: featureLayer
// feature table
ServiceFeatureTable {
id: featureTable
url: app.featureLayerURL
credential: creds
}
}
... View more
12-16-2019
10:46 AM
|
0
|
0
|
659
|
POST
|
Thank you for quick response, could be it be: var credential = ArcGISRuntimeEnvironment.createObject("Credential", {
"token": token
}); its not working right now. Laurynas
... View more
12-16-2019
10:29 AM
|
0
|
3
|
659
|
POST
|
What is the proper way to load secure webmap? so far this code does not work: MapView { id: mapView anchors.fill: parent Credential{ id: creds username: user password: password } Map { id: webMap initUrl: webmap_secure } }
... View more
12-16-2019
08:15 AM
|
0
|
5
|
750
|
POST
|
you should add your widget in samplewidgets folder: WAB_2.14\client\stemapp\widgets\samplewidgets\Test the add it to config to WAB_2.14\client\stemapp\sample-configs\config-demo.json file { "uri": "widgets/samplewidgets/Test/Widget", "label": "Test", "position": { "left": 185, "top": 45 } } then go to the: http://localhost:3344/webappviewer/?config=sample-configs/config-demo.json and open developer console is Chrome to see errors: Look like you did not paste all the code from the demo
... View more
12-13-2019
12:30 PM
|
0
|
0
|
239
|
POST
|
JQuery loads properly if i comment out the jstree on the define. Looks like the jstree has Jquery global already:
... View more
12-06-2019
10:47 AM
|
0
|
1
|
917
|
POST
|
that get me further,loading thru jstree.js into widget. Getting error:
... View more
12-06-2019
08:58 AM
|
0
|
1
|
917
|
Title | Kudos | Posted |
---|---|---|
1 | 02-09-2022 08:55 AM | |
1 | 02-08-2022 12:52 PM | |
2 | 09-18-2021 06:10 AM | |
1 | 12-09-2020 08:23 AM | |
1 | 12-17-2018 12:02 PM |
Online Status |
Offline
|
Date Last Visited |
02-09-2022
12:31 PM
|