Service Portal Data Table Widget Customization

Community Alums
Not applicable

I've been working on a space-saving customization to the "Data Table from Instance Definition" widget. 

Basically, I want users to be able to click a button and be able to choose which list they see, as well as be able to click an item on the list and have it load on the form widget on the same page.
I have that part working, using $broadcast to send events and pass information between the various widgets, see below:

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

 

What I haven't been able to figure out is how to get the Filter to respond. I've been through all the nested widgets, replaced them with custom ones, and passed every variable i can think of to every place i can think of, and no luck. The best I can figure, the filter widget (which is another embedded widget) isn't being reset when everything else is. Either that or theirs some piece of data I'm not passing.

Anyone have any ideas?

I really wish I could tag people, because I'd love to ask Nathan Firth or Chuck Tomasi about this one.

16 REPLIES 16

Can you explain or show your code for the adding filter buttons for Active and Inactive? I am trying to do something very similar for a list of sys_user where we need a filter button for each letter in the alphabet like an Address Book view

SRE
Tera Expert

I am new to service portal widgets

can any share the code to show list of records from specific table based on the filter (value provided in variables)

 

Jonah Piascik
Tera Expert

Hi - curious if you ever got this working?  We're looking to do something very similar with surveys/assessments, where we have a list of assessments for different source records (demand assessments, incident surveys) and then in separate widgets we display the survey (take_survey widget) and the source record (demand, incident) in the form widget.  Any chance you could share your code to a SP Dev newbie trying to get this to work?  Thanks.

Community Alums
Not applicable

Yes, I did. Feel free to email me and I'll tell you more about it.

would you please provide your email address?

I am new to service portal and am trying to get something working with data table and form and having issues.

tia!