Stream: troubleshooting

Topic: HTML in DatasetPublishPopupCustomText


view this post on Zulip Falco (Copenhagen University Library) (Sep 18 2024 at 08:07):

Good day,

not sure, which channel is most appropriate for this, but I do have a somewhat random question:
Is there a way to format the 'DatasetPublishPopupCustomText' (e.g. with line breaks and links)?

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2024 at 11:15):

Hmm, @Sherry Lake might know off the top of her head.

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2024 at 11:16):

@Falco (Copenhagen University Library) did you try it yet? And do the docs say? I'm not sure. HTML is supported if the code says "escape=false".

view this post on Zulip Falco (Copenhagen University Library) (Sep 18 2024 at 11:22):

I haven't found any information on this in the docs. I guess, we'll have to test then...

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2024 at 12:05):

I'm seeing "escape=false" here: https://github.com/IQSS/dataverse/blob/v6.3/src/main/webapp/dataset.xhtml#L1784

That means HTML should be supported.

view this post on Zulip Sherry Lake (Sep 18 2024 at 13:22):

We set this up back in 2016, at V 4.??. HTML in the "text" does display, but I have a note that putting the text in the custom popup text via API "settings" command didn't work and we added the following text directly in the database table:

By clicking Continue you affirm that you have met all licenses, policy and other data agreements:<ul><li>You have the legal right and authorization to make the data publicly available online world-wide through Libra</li><li>In preparing the data for public archiving and distribution, you have removed any confidential or sensitive information, student education records protected under FERPA, and all information that <strong>personally identifies any individual</strong> or that <strong>contains any information classified as highly sensitive</strong> under state or federal law, or UVA policy.</li><li>If the submission is based upon work that has been sponsored or supported by an agency or organization other than UVA such as the National Institutes of Health, the National Science Foundation, or a private sponsor or funder, you represent that you have fulfilled any right of review, confidentiality, or other obligations required by that contract or agreement.</li><li>You represent that you have made a reasonable effort to ensure that the data contained in your submission is accurate.</li><li>You represent that you have appropriately acknowledged other researchers whose work contributed to the data.</li></ul>

Screenshot-2024-09-18-at-8.58.49AM.png

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2024 at 13:38):

Interesting. Thanks, Sherry.


Last updated: Oct 30 2025 at 05:14 UTC