POST
|
Please see the update here: https://community.esri.com/ideas/17535
... View more
06-24-2020
09:19 AM
|
0
|
0
|
1214
|
POST
|
Owen Evans any update on this? I don't want the watermark at all. If not way to remove it through the app itself can it be removed via code like in web app builder?
... View more
05-26-2020
06:45 AM
|
0
|
1
|
2112
|
POST
|
I have a base report created using the report dijit example: https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fweb-appbuilder%2Fsample-code%2Fc… I have a feature layer in AGOL that has some inspection points and I want to make a nice report to hand over to a contractor. How do I grab data from a feature layer on AGOL and plunk that into the table? Same goes for the pictures (which are attachments to my inspection points).
... View more
05-12-2020
08:53 AM
|
0
|
0
|
317
|
POST
|
How do I grab data from a feature layer on AGOL and plunk that into the table? Same goes for the pictures (which are attachments to my inspection points).
... View more
05-08-2020
06:43 AM
|
0
|
1
|
739
|
POST
|
Perfect it works! Thanks. How do I grab data from a feature layer on AGOL and plunk that into the table? Same goes for the pictures (which are attachments to my inspection points).
... View more
05-07-2020
11:08 AM
|
0
|
3
|
739
|
POST
|
Do you know of any examples from ESRI or the community of this? Can multiple inspection results be put on one page of a feature report?
... View more
05-06-2020
02:38 PM
|
2
|
1
|
1247
|
POST
|
It says missing } after property list note: { opened at line 35, column 33 it also says TypeError: clazz is not a constructor
... View more
05-06-2020
02:36 PM
|
0
|
2
|
1453
|
POST
|
I played around with brackets and moved the btn function into the main function and still no luck. Updated code: define(['dojo/_base/declare', 'jimu/BaseWidget', 'jimu/dijit/Report', 'jimu/dijit/PageUtils'],
function(declare, BaseWidget, Report, PageUtils) {
//To create a widget, you need to derive from BaseWidget.
return declare([BaseWidget], {
// DemoWidget code goes here
//please note that this property is be set by the framework when widget is loaded.
//templateString: template,
baseClass: 'jimu-widget-report',
postCreate: function() {
this.inherited(arguments);
console.log('postCreate');
},
startup: function() {
this.inherited(arguments);
this.report = new Report ({
footNotes: "Reported Generated by Terracon"
printTaskUrl: "http://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",
reportLayout: {
"pageSize": PageUtils.PageSizes.A4,
"orientation": PageUtils.Orientation.Landscape
}
});
console.log('startup');
_onBtnPrintClicked: function(){
var printData = [
{
addPageBreak: true,
type: "map",
map: this.map
},
{
title: "List of parks",
addPageBreak: false,
type: "table",
tableCols: 3,
data: {
showRowIndex: false,
rows: [["Brookside Park", "1630 Brookside Avenue, Redlands, CA 92373", "34.045347, -117.209909"],
["Crafton Park", "Wabash Ave & Independence Ave, Redlands, CA 92374", "34.060946, -117.140118"],
["Ford Park", "Parkford Dr & Redlands Blvd, Redlands, CA 92374", "34.043828, -117.160692"],
["Prospect Park", "352 Prospect Dr., Redlands, CA 92373", "34.039145, -117.172582"],
["Sylvan Park", "601 N University St, Redlands, CA 92374", "34.059977, -117.168179"]],
cols: ["Name", "Address", "Lat/Lon"]
}
},
{
title: "Photos",
type: "html",
data: '<div style="height: 450px;"><div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/brookside.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Brookside Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/Crafton.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Crafton Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/ford-park.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Ford Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left; clear:left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/Prospect%20park.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Prospect Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/Sylvan%20Park.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Sylvan Park</div></div></div>'
}];
this.report.print("Redlands Parks", printData);
}
}
... View more
05-06-2020
08:57 AM
|
0
|
6
|
1453
|
POST
|
I have tried to create a report using the report dijit and keep getting the following error "Create widget error widgets/Report/Widget". I've explored the following example with no luck Create a custom widget using the Report dijit—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers Below is my widget.js: define(['dojo/_base/declare', 'jimu/BaseWidget', 'jimu/dijit/Report', 'jimu/dijit/PageUtils'],
function(declare, BaseWidget, Report, PageUtils) {
//To create a widget, you need to derive from BaseWidget.
return declare([BaseWidget], {
// DemoWidget code goes here
//please note that this property is be set by the framework when widget is loaded.
//templateString: template,
baseClass: 'jimu-widget-report',
postCreate: function() {
this.inherited(arguments);
console.log('postCreate');
},
startup: function() {
this.inherited(arguments);
this.report = new Report ({
footNotes: "Reported Generated by Terracon"
printTaskUrl: "http://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",
reportLayout: {
"pageSize": PageUtils.PageSizes.A4,
"orientation": PageUtils.Orientation.Landscape
}}
});
console.log('startup');
}}
_onBtnPrintClicked: function(){
var printData = [
{
addPageBreak: true,
type: "map",
map: this.map
},
{
title: "List of parks",
addPageBreak: false,
type: "table",
tableCols: 3,
data: {
showRowIndex: false,
rows: [["Brookside Park", "1630 Brookside Avenue, Redlands, CA 92373", "34.045347, -117.209909"],
["Crafton Park", "Wabash Ave & Independence Ave, Redlands, CA 92374", "34.060946, -117.140118"],
["Ford Park", "Parkford Dr & Redlands Blvd, Redlands, CA 92374", "34.043828, -117.160692"],
["Prospect Park", "352 Prospect Dr., Redlands, CA 92373", "34.039145, -117.172582"],
["Sylvan Park", "601 N University St, Redlands, CA 92374", "34.059977, -117.168179"]],
cols: ["Name", "Address", "Lat/Lon"]
}
},
{
title: "Photos",
type: "html",
data: '<div style="height: 450px;"><div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/brookside.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Brookside Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/Crafton.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Crafton Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/ford-park.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Ford Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left; clear:left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/Prospect%20park.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Prospect Park</div></div>'+
'<div style="width: 250px; margin-left: 10px; float: left;"><div><img style="width: 250px; height: 200px; float: left;" src="http://cityofredlands.org/sites/default/files/rda/Landmarks/Sylvan%20Park.jpg" /></div><div style="text-align:center; margin-bottom: 10px;">Sylvan Park</div></div></div>'
}];
this.report.print("Redlands Parks", printData);
}, Any ideas? Thanks
... View more
05-06-2020
06:55 AM
|
0
|
14
|
2462
|
POST
|
I'm looking to add some functionality into my workflow. Just to set the stage: Road inspection data was collected via Collector Want to create a "package" for a contractor to fix the identified deficiencies. This would include a simple map and report (report is more important than map) displaying the locations and the associated data with each deficiency point Say a user wants to select selects 5 points from a AGOL feature service. I need a way to select these points (Maybe through a web app builder app and the select tool). Now the user will need to create a report for each of the 5 points selected. This report would just show the attrbutes for the selected points Maybe create a report into Survey123 via an open ended webhook through Integromat. This will all act on a feature service tied to Survey123 and spit out a feature report from Survey123. I'm not looking for anything fancy or complicated. I'm just looking at ways to allow the user to select multiple features on a map and export a report on them including data and any attachments. Thanks.
... View more
05-05-2020
01:51 PM
|
0
|
4
|
1345
|
POST
|
I'm looking to add some functionality into WAB as follows: User selects 5 points from a AGOL feature service within the WAB app Wants to create a report on the 5 selected points so they can hit a button (either in the select tool or else where on the app) Either creates a report in WAB or I provide a webhook to the feature service in Survey123 and spit out a feature report from Survey123 I'm not looking for anything fancy or complicated. I'm just looking at ways to allow the user to select multiple features on a map and export a report on them including data and any attachments. Any ideas? Thanks
... View more
05-05-2020
09:18 AM
|
1
|
0
|
330
|
POST
|
Rickey Fite I can't seem to create a report from the widget you mentioned. All it does is report an issue. Derek Law is there a pre-built tool?
... View more
04-24-2020
11:49 AM
|
0
|
3
|
3836
|
Title | Kudos | Posted |
---|---|---|
1 | 10-31-2018 08:24 AM | |
3 | 12-18-2018 09:23 AM | |
1 | 12-02-2019 07:53 AM | |
1 | 04-24-2020 11:11 AM | |
1 | 08-14-2019 02:25 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|