Hi
We want to develop a print template as shown above where we get map and dynamic data into it. please suggest any ideas on it. we have gone through the customtextelements property in print parameters but no luck. please suggest on this.
When i try to get layout templates im getting below message. no custom text elements have been assigned. could anyone plz let me know how to configure that elements in it.
Get Layout Templates Info
=====================
Parameters
Layout Templates Folder C:\Templates
JSON String [
{
"layoutTemplate": "Layout",
"pageSize": [
420.0,
297.0
],
"pageUnits": "MILLIMETER",
"webMapFrameSize": [
331.8,
255.03
],
"layoutOptions": {
"hasTitleText": false,
"hasAuthorText": false,
"hasCopyrightText": false,
"hasLegend": false,
"customTextElements": []
}
}
]
=====================
Messages
Start Time: Saturday, December 4, 2021 9:21:16 AM
Succeeded at Saturday, December 4, 2021 9:21:17 AM (Elapsed Time: 0.31 seconds)
Solved! Go to Solution.
Hi,
Please refer to the link below for publishing the Print service with custom layouts: Share custom layouts for printing from ArcGIS Pro
The similar question was asked and solved in the case Add custom text element to print layout in print widget
Thank you.
Hi Naveen,
Add the "{}" braces to the Text element name. this will provide you the custom Text Elements. Please refer to the attachment.
Hi,
Please refer to the link below for publishing the Print service with custom layouts: Share custom layouts for printing from ArcGIS Pro
The similar question was asked and solved in the case Add custom text element to print layout in print widget
Thank you.
Hi Kishore,
thanks for the links shared. I have gone through the links before posting here. My question is simple how to add dynamic text which will comes in the customtextelement array as shown in the second link. I tried to add elements to layout but when im running this get layout templates info gp tool. Im getting onlyhasCopyrightText": false,
"hasLegend": false,
"customTextElements": []
}
}
]
please guide me how to add dynamic text into layout. Seems like im missing very simple thing while adding dynamic text elements. (Example string )
thanks
Thank you Kishore. I got it in customtextelements.
Hi Kishore,
Is there any possibility to get break line in the custom text elements? as our data is exceeding the layout template. if there is any i can apply those changes and can print the rest of the data in the second line.
Thanks,
Naveen
Any idea why the custom text element field in WAB has dynamic text as a predefined value. Any advice would be appreciated.
Thanks.