Select to view content in your preferred language

Custom Map Layout - Reading logged in User to a web app

97
1
Tuesday
ElieRizk
Frequent Contributor

How do I get layoutOptions.customTextElements to replace text in an ArcGIS Pro layout via PrintingTools?

I am creating a custom printing tool with a custom layout, using Export Web Map (PrintingTools). I want to use custom text elements to display a text passed from the web application request call. My application is developed in React.

I also added a text element for the watermark, without success.

My customTextElements values aren’t replacing the layout’s text.

What exact setup/naming is required for the text elements and template?

ElieRizk_0-1762876747213.png

ElieRizk_1-1762876762096.png

 

0 Kudos
1 Reply
RhettZufelt
MVP Notable Contributor
<dyn type="user"/>

for the logged in username.

See here for other dynamic text available.

R_

0 Kudos