|
POST
|
Hello, I would like to generate PDFs in Web AppBuilder from data in the map, NOT make a PDF of the map image. I am wondering if anyone has generated PDFs in their Web AppBuilder apps, other than using the Print widget? I have been looking at some PDF generators, like PDFMake, and am wondering how to incorporate this with the Dojo/ESRI APIs. Any help is greatly appreciate. Thank you for your time. William
... View more
11-23-2016
01:34 PM
|
0
|
1
|
2203
|
|
POST
|
Hello, I'm trying to create mailing labels for selected parcels. I'd like to take values from the CSV that WAB can generate (in the Attribute Table widget), get a string from the result, parse it and add the results to a pdf generator. I found the CSVUtils.js, in particular the exports._createCSVStr function, but I'm having trouble implementing it. Has anyone else used this function? Please let me know how you got the parameters (datas, columns) to use in the function. Any help is much appreciated. Thank you for your time. William
... View more
11-23-2016
12:58 PM
|
0
|
13
|
3471
|
|
POST
|
Hi Natasha, Attached is a zip file with the following items: eFoldableTheme, Welcome and Widget.js. Here is what to do once the zip file is downloaded and its files extracted: (Note: ... represents the location of WebAppBuilderForArcGIS on your PC) Add the eFoldableTheme folder to ...\client\stemapp\themes Add the Welcome folder to ...\client\stemapp\widgets In the Welcome folder, go to the nls\strings.js file and add your own tab labels and contents. See notes in the code for further instructions. Once you have added your content, start Web AppBuilder and create a new app Select the eFoldableTheme and save the app Go to ...\server\apps\#ofTheAppYourJustCreated\widgets\Splash. Replace the existing Widget.js with the Widget.js from the zip file. To change the icon of the Welcome widget, go to Welcome\images and replace the icon.png with a different .png image and name it icon With this solution, put any disclaimer in the Splash widget. Once the user clicks "OK", the Welcome widget opens. After "closing" the Welcome widget, it is still available in the header and can be opened later in the life of the web page. I hope this helps. William Note: The following files in the eFoldableTheme were modified from FoldableTheme: FoldableTheme\images\icon.png FoldableTheme\layouts\default\config.json FoldableTheme\nls\string.js FoldableTheme\common.css FoldableTheme\manifest.json ModalPanel and all its contents were added to eFoldableTheme\panels. (The files with the -Orig suffix are the result of completing the Create a New Panel sample code tutorial and are not needed.)
... View more
11-22-2016
11:13 AM
|
2
|
15
|
3378
|
|
POST
|
Hi Robert, I am trying to add the ability to generate mailing labels to an app, and I was hoping to connect this to your enhanced search widget. I was hoping to use JavaScript, maybe PDF.js from Mozilla on GitHub. I'm wondering if you have any code that would help in adding PDF generation to the enhanced search widget or any suggestions on what PDF library to use? Thank you for your time. William
... View more
11-22-2016
06:26 AM
|
0
|
0
|
1295
|
|
POST
|
Hi Natasha, I didn't get it to work the way I had hoped, but I did get something fairly comparable. I modified the foldable theme by adding a modal panel and a new default layout (using the modal panel), adding a custom widget with tabs, and calling the widget to open in a modal panel after the splash screen's "OK" button is click. If you are interested, let me know what version of Web AppBuilder (WAB) developer's edition you are using, and I can attach the relevant files, along with some instructions. William
... View more
11-22-2016
06:06 AM
|
1
|
17
|
3378
|
|
POST
|
Hello, Is there a way to delete/remove 'MAP_ONLY' from the Printing Utility Service in Portal? I click the red X and save, but the 'MAP_ONLY' option is still available in the Web AppBuilder Print widget. Thank you for your help in this matter. William
... View more
11-10-2016
09:20 AM
|
0
|
9
|
3260
|
|
POST
|
Hi Robert, I was referring to Portal, specifically My Organization > Utility Services (highlighted in the image below). The example given shows https://webadaptor.domain.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task. What does the webadaptor portion stand for in the URL? We have Web Adaptor setup in ArcGIS Server Manager. When I go to ArcGIS Server Manager > Site > Web Adaptor (see image below), the Machine Name has our server name and the URL has https://arcgis.ourDomain.local/arcgis . Is arcgis what I should have in place of webadaptor? Thank you for your help Robert. William
... View more
11-10-2016
06:48 AM
|
0
|
1
|
378
|
|
POST
|
Hi Robert, How would we include webadaptor in our URLs? William
... View more
11-09-2016
06:17 AM
|
0
|
3
|
1956
|
|
POST
|
Thanks Robert. I didn't think it had anything to do with WAB, but I was asked to look into changing the print layout formats, and I've been working primarily with WAB and a little with Portal. William
... View more
11-08-2016
10:53 AM
|
0
|
1
|
2870
|
|
POST
|
Hi Robert, Thank you for the links and script. I had looked at the API Documentation - The Dojo Toolkit Version 1.10 for cookie, and the first example used {expires: 5} for an expiration 5 days from now. I thought maybe it was being used that way in WAB. I'll try your code and see what happens tomorrow afternoon. Thanks. William
... View more
11-08-2016
10:16 AM
|
1
|
0
|
1024
|
|
POST
|
Hi Robert, A sort of follow up question. The URLs I've been given for the printing and geometry services have the starting format https://serverName:portNumber/arcgis/rest/... and not https://webadaptor.domain/arcgis/rest/.... Is this okay? Thank you. William
... View more
11-08-2016
10:04 AM
|
0
|
5
|
1956
|
|
POST
|
Hello, Is it possible to format print layouts/templates in Web AppBuilder or Portal? By 'format' I mean customize the legend and add a disclaimer to the bottom of the page, among other things. Or is this done somewhere else, like Arc Catalog? Thank you. William
... View more
11-08-2016
09:49 AM
|
0
|
12
|
5657
|
|
POST
|
Hello, I was wondering if there is a way to have the splash widget cookie expire after a certain period of time? This way, after the period is over, the user would be presented with the splash screen and have to agree to the terms again. I found the following code in the widget.js file of the splash widget. onOkClick: function() {
var isFirstKey = this._getCookieKey();
if (this._requireConfirm) {
if (this.confirmCheck.getValue()) {
if (TokenUtils.isInConfigOrPreviewWindow() || this._confirmEverytime) {
cookie(isFirstKey, null, {expires: -1});
} else {
cookie(isFirstKey, false, {
expires: 1000,
path: '/'
});
}
this.close();
}
} else {
if (this._showOption) {
if (!TokenUtils.isInConfigOrPreviewWindow() && this.confirmCheck.getValue()) {
cookie(isFirstKey, false, {
expires: 1000,
path: '/'
});
}
} else {
cookie(isFirstKey, null, {expires: -1});
}
this.close();
}
}, Does the expires: 1000 represent one thousand days? Any input is appreciated. Thank you. William
... View more
11-08-2016
09:28 AM
|
0
|
2
|
1287
|
|
POST
|
Hi Robert, Do you know if my employer can legally use the files in the font folder? As far as I know, we don't have any account with IcoMoon. William
... View more
11-04-2016
02:06 PM
|
0
|
1
|
1141
|
|
POST
|
Hi Robert, Would you mind attaching a copy of the documentation for the enhanced search widget? William
... View more
11-04-2016
09:12 AM
|
0
|
3
|
2029
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-28-2016 08:09 AM | |
| 1 | 11-28-2016 08:34 AM | |
| 1 | 11-28-2016 08:39 AM | |
| 1 | 12-07-2016 06:14 AM | |
| 1 | 12-08-2016 08:44 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|