service portal: list widget and form widget

ggg
Giga Guru

Here is what I am trying to do:  in a portal page: I want to display a list of records from a custom table and, based on a value on the record, display only certain fields on that record.

for example, if i have rec A with category A, i want to display fields 1 and 2.  for rec B with Category B, i want to display fields 3 and 4 ( and NOT 1 and 2).

the list will be a clone of Data Table from URL Definition. The form possibly a clone of Form.

I looked at instance options on Form but I don't see a way to make that dynamically depend on a value from the record that is clicked on in the list widget.

I edited the Data Table from URL Definition widget on its page and I can set the page it links to but i don't see how to dynamically set the page it links to depending upon a value on the record.

Has anyone had a similar use case?

 

1 ACCEPTED SOLUTION

ggg
Giga Guru

the answer is:

client scripts and ui policies work on the portal

so my show / hide for fields works as soon as the form opens ...

wunderbar!

View solution in original post

1 REPLY 1

ggg
Giga Guru

the answer is:

client scripts and ui policies work on the portal

so my show / hide for fields works as soon as the form opens ...

wunderbar!