OP-TED / eforms-notice-viewer

This is a sample eForms application that can visualise an eForms notice. It uses efx-toolkit-java to generate XSL templates from notice view templates written in EFX. It then uses an XSLT processor to generate an HTML visualisation of any given eForms notice.
https://docs.ted.europa.eu/eforms-common/notice-viewer/index.html
European Union Public License 1.2
10 stars 2 forks source link

Handling restricted fields in viewer #79

Open eBrasack opened 1 year ago

eBrasack commented 1 year ago

We currently do not understand how this viewer would treat fields that are listed as restricted. We understand that restricted fields would be listed in BT-195. Does the viewer still display these fields like any other fields or does the viewer check if the duration of hiding these fields has passed and only then displays these fields? What other logic is applied here?

I already tried addressing this question to the TED helpdesk, they pointed me here. Thanks in advance

rousso commented 1 year ago

Hi @eBrasack, Restricted (a.k.a. "unbulished") fields are masked before publication. The viewer displays the masked value just like it would display any other field.

pdonohoe commented 9 months ago

Dear @eBrasack , the current logic for the display of restricted/unpublished information fields is that they are only displayed while the value of the unpublished field is masked, i.e. before the Access Date. After the Access Date, when the value of the unpublished field is revealed, the unpublished information fields are not displayed. This is due to change, so that the unpublished information fields will always be displayed. This will probably take effect with the release of SDK 1.12, and then applied to previous SDK versions.