Hi
I've been looking at Print Dynamic Text from a Web Application but it is geared for old Web Apps, so not sure if it will work with Experience Builder. Plus it isn't quite what I want.
I have added a dynamic text widget and a filter to my project in ExpBuilder. So I end up with one feature selected and the dynamic text box has some of the attribute fields plus other text added.
Is the way above the best way to get these data onto a print template?
I have had some success with simply creating a layout file, dragging it into Portal and using that - I had to have the actual layer in it, but with a null style, so only the selected one showed in the print out - but that all seemed a bit clunky
Cheers
ACM
That approach should still work with new Exp. Builder. Please note that was written awhile back when we didn't have any out of the box support for what you are asking for.
I do agree it wasn't a great experience but it got the job done. I don't think you really need to have a seed-layer with null symbols. The idea behind that was to use python code (to be executed on the server side) to update the source of dynamic-text element and point that to a layer from your webmap (there you might need to have layer-name etc. hard-coded somewhere).
anyway the good news is that if you are in 11.5 enterprise, you don't need to worry about that at all. You can create a layout template with dynamic text elements in pro and share that with your print service... while authoring the print widget in your exp builder app, you pick that template and it will recognize that there are some dynamic text elements available in the template. It will provide options to pick layers as sources for those dynamic text elements. After than you won't need to worry about anything.
No customization needed neither on the server side nor on the client app side.
Please give that a try and let us know if you run into any issues.
Thanks
Tanu