Select to view content in your preferred language

Print Widget Problem

1430
3
Jump to solution
01-10-2024 07:30 AM
Labels (1)
RachappaBellappa1
Emerging Contributor

Hello

We are publishing a new print template from pro and using that in the experience builder print widget. Somehow the title is not getting rendered using dynamic text. Also how can we add custom field like some notes onto the map so when user wants to show in the print. We have added them in the print template but not sure how to include them in the printing.

0 Kudos
1 Solution

Accepted Solutions
ShengdiZhang
Esri Regular Contributor

Hi @RachappaBellappa1 ,

Can you execute the print service - Get Layout Templates Info Task to see if the Layout Options - hasTitleText is true? If this parameter is false, the title will not be dynamic.

You can add custom text elements to the print layout from the Pro by using "{}" around the text element name:

ShengdiZhang_0-1705310784014.pngShengdiZhang_1-1705310803170.png

Add a print service with custom text elements to the ExB and the custom elements can then be found under Print Templates - Layout Options:

ShengdiZhang_2-1705311100965.png

Hope it helps,

Shengdi

 

View solution in original post

3 Replies
ShengdiZhang
Esri Regular Contributor

Hi @RachappaBellappa1 ,

Can you execute the print service - Get Layout Templates Info Task to see if the Layout Options - hasTitleText is true? If this parameter is false, the title will not be dynamic.

You can add custom text elements to the print layout from the Pro by using "{}" around the text element name:

ShengdiZhang_0-1705310784014.pngShengdiZhang_1-1705310803170.png

Add a print service with custom text elements to the ExB and the custom elements can then be found under Print Templates - Layout Options:

ShengdiZhang_2-1705311100965.png

Hope it helps,

Shengdi

 

RachappaBellappa1
Emerging Contributor

Thanks @ShengdiZhang it's working now, Also just a suggestion if you guys could update the documentation it will be helpful/

0 Kudos
HariomPandya
Occasional Contributor

 

CAN ANYONE HELP ME IN THE CUSTOM PRINT SERVICE WHICH I AM UTILIZING IN PRINT WIDGET IN EXPERIENCE BUILDER . pRINT PREVIEW IS NOT SHOWING FOR MY CUSTOM PRINT SELECT , IF I CHANGE IT TO MAP ONLY IT IS WORKING . 
I WANT TO HAVE PRINT PREVIEW FOR MY CUSTOM PRINT SERVICE . PLEASE HELP ME IN THIS