Start a new topic

Reference Data Popup

We have data which is not being mastered within xDM but we do want it to be displayed within the tool via something akin to the reference data popup windows that are typical of a regular form.


It looks like there is some HTML and JavaScript necessary, but we can't figure out exactly how this works.  Is there a template or a short piece of code we can add as SemQL on a form to replicate the popup?


Hello Matt,


I'm not sure how those data are stored, but if for example they are available through a URL, then you could add a form field which value is the URL, set the component type to "hyperlink" and you can choose the display text of your choice. For the pop-up style, you can set it as open in "popup-object".



Could that work for you?


BR,

Alexia

This is close, but unfortunately the data we would like to pop-up is in a custom HTML table on the form already, so we aren't able to have it as it's own form field there.

I also tried this with some data within Semarchy and the popup seems like it seems refreshing?

Hello Matt,


In this case, I don't think we can have a pop-up.


But instead you can still display your HTML table through a form field of type "Object":

Which could result in something like this:


The behavior you are describing regarding displaying an xDM page from another xDM page using an hyperlink field is a known corner-case and should be performed in a new tab. 


BR,

Alexia

Login to post a comment