Data Table from URL definition widget utilization

Vinicius Luz
Tera Expert

Hello guys,

Is there a way to LOCK the Data Table from URL definition widget to a specific table, and not allowing the user to change it?

My requirement is to have a list of records with the FILTERING and SEARCH enabled, just like the Data Table from URL definition widget has OOTB, the only problem is that I'm not suppose to allow table changing and it has to come with a pre-set filter "Contact is(dynamic) Me, Active = true".

 

Thanks

1 ACCEPTED SOLUTION

Martin iTSM
Tera Guru

Hey there,

i`d duplicate the widget "Data Table from URL Definition" to be able to modify it and then just change a tiny bit of the server code - not sure if there`s an easier / better practice approach - but it should be working just fine.

1. Duplicate widget

2. Change Server Code in new widget:
find_real_file.png

3. Replace old widget with new one in portal page, set "Enable filter" tickbox in Widget Options

find_real_file.png


4. Result on my PDI (had no contact field, therefore used opened by - amend to your requirements)

find_real_file.png
Hope this is what you`re looking for.
- fixed table
- preset filter
- search available

Cheers!

Martin

View solution in original post

4 REPLIES 4

Martin iTSM
Tera Guru

Hey there,

i`d duplicate the widget "Data Table from URL Definition" to be able to modify it and then just change a tiny bit of the server code - not sure if there`s an easier / better practice approach - but it should be working just fine.

1. Duplicate widget

2. Change Server Code in new widget:
find_real_file.png

3. Replace old widget with new one in portal page, set "Enable filter" tickbox in Widget Options

find_real_file.png


4. Result on my PDI (had no contact field, therefore used opened by - amend to your requirements)

find_real_file.png
Hope this is what you`re looking for.
- fixed table
- preset filter
- search available

Cheers!

Martin

Thanks a lot! Worked perfectly

Thank You!

Kat
Tera Contributor

Hi @Martin iTSM,

 

Is there a way to display only selected columns on the table? Also, unlike your screenshot, I didn't get keywords search visible on my widget after the changes. Any other changes to be included for it to be visible?