I am using AGOL map service for printing https://mydomain/my_web_adaptor/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20...
I require to do following customization in appication code. I have downloaded code into local web server (iis 7.0)
- Change layout option caption e.g. "A4 Landscape" to "Page Size 8.5x 11". I don't find any labels under sub folder widgets\print. I have double check all files.
- increase height and width of print widget. I have updated style.css under widgets\print\css. It doesn't change widget size. I can inspect with developer tools and see same width and height. What I am missing. code below.
.jimu-widget-print{
width: 500px;
height: 2000px;
position: relative;
}
.jimu-widget-print .dijitSelect{
height: 20px;
width: 500px;
}
.gis_PrintDijit {
width: 500px;
}
.gis_PrintDijit .printResult {
/*border: 1px solid #CCCCCC;*/
height: 28px;
margin-bottom: -1px;
width: 500px;
}
.gis_PrintDijit .printResult .printResultTable {
width: 500px;
}
.gis_PrintDijit .printResult .bold {
font-weight: bold;
}
.gis_PrintDijit .printResultError {
font-weight: bold;
color: red;
cursor: help;
}
.gis_PrintDijit .printResultHover table:hover {
background-color: #D4E7F8;
cursor: pointer;
}
.gis_PrintDijit .buttonActionBar {
padding: 3px 0px 2px 0px;
width: 500px;
Ram,
The layouts and their labels are controlled by the print service Not the widget code. So if you want to change the label then you would have to alter the print service.
The size of Any widget is controlled by the apps main config.json width and height properties, not css rules.