|
POST
|
I am using different webmaps to open a WAB and I am looking for a way to customize the application "title" . http://<your portal url>/apps/webappviewer/index.html?webmap=[value] How can I change the "title" of the application. Thanks
... View more
03-23-2017
06:18 AM
|
0
|
8
|
3006
|
|
POST
|
Excellent, this is exactly what I am looking for. I just tested and it works. I am going to create web maps for different groups of users: editors and managers.
... View more
03-23-2017
05:58 AM
|
0
|
0
|
1197
|
|
POST
|
Hi Robert, So any Web App Builder has some reserved keys such as "webmap" or "id" http://<your portal url>/apps/webappviewer/index.html?webmap=123 or http://<your portal url>/apps/webappviewer/index.html?webmap=456 Thanks
... View more
03-23-2017
05:40 AM
|
0
|
1
|
1197
|
|
POST
|
Hello everyone, I am looking for a way to open a Web AppBuilder application passing an MyContent Map as parameter. http://[myWebAPPBuilderHost/[myWebAppBuilderApplicaiton/index.html?Map=.... Thanks
... View more
03-22-2017
12:37 PM
|
0
|
4
|
1528
|
|
POST
|
The final code: var portal = new arcgisPortal.Portal('http://[myorganization].maps.arcgis.com'); portal.signIn().then(function (loggedInUser) { console.log("Signed in to the portal: ", loggedInUser); console.log(loggedInUser.fullName); var myArray = null; var myArray = loggedInUser.getGroups; loggedInUser.getGroups().then(function (groups) { array.forEach(groups, function (group) { var title = group.title; console.log(title); }); }); });
... View more
03-22-2017
11:56 AM
|
0
|
0
|
403
|
|
POST
|
Robert, Is this correct? In debugging mode it does not go inside portal.signIn() , so it does not executes the function: var portal = new arcgisPortal.Portal('http://[my organitation].maps.arcgis.com'); portal.signIn().then(function() { var portalUser = portal.getPortalUser(); console.log("Signed in to the portal: ", portalUser); console.log(portalUser.fullName); var myArray = null; var myArray = portalUser.getGroups; }); .....
... View more
03-22-2017
06:32 AM
|
0
|
1
|
2797
|
|
POST
|
Hi Robert, I am getting the error message below: var portal = new arcgisPortal.Portal('http://[my organization].maps.arcgis.com'); var portalUser = portal.getPortalUser(); Error message in debugging mode: variable portalUser is undefined.
... View more
03-22-2017
06:04 AM
|
0
|
1
|
2797
|
|
POST
|
Thank you Robert, I just found this post that also helps: https://community.esri.com/message/606421?q=portal%20getPortalUser
... View more
03-22-2017
05:49 AM
|
0
|
1
|
2797
|
|
POST
|
Hi Robert, I wrote this code: var portal = new arcgisPortal.Portal('http://[my organization].maps.arcgis.com'); var portalUser = new portal.getPortalUser(); var myArray = portalUser.getGroups; Is that correct to declare portalUser = new portal.getPortalUser(); Debugging the program I get the message "myArray is Undefined."
... View more
03-22-2017
05:40 AM
|
0
|
1
|
2797
|
|
POST
|
One last questions, how do I instantiate PortalGroup ? var portalgroup = new ???? or do I need to run a query on Portal to get all groups? Thanks
... View more
03-21-2017
01:01 PM
|
0
|
1
|
3106
|
|
POST
|
What I don't understand is how the object "portal" gets populated. This is my function require([ "esri/arcgis/Portal", ... ], function(arcgisPortal, ... ) { //Retrieves user information. checkUser: function() { portal = new arcgisPortal ??????????? How is this object instantiated ?????? console.log(portal.allSSL); console.log(portal.signIn()); console.log(portal.getPortalUser()); },
... View more
03-21-2017
12:27 PM
|
0
|
1
|
3106
|
|
POST
|
Thanks again, what I do not understand is how the object "portal" gets instantiated? or how can declare an object myPortal = initialize it with "portal". Fired when the portal has loaded. Once the portal has loaded the properties and methods of the Portal class are available. (Added at v3.6) Sample: portal.on("load", function(){
console.log(portal.allSSL);
});
... View more
03-21-2017
11:51 AM
|
0
|
1
|
3106
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 05-01-2026 12:34 PM | |
| 1 | 12-02-2022 08:17 AM | |
| 1 | 12-26-2025 05:02 AM | |
| 1 | 08-05-2025 04:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|