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

Hi - just found this post again looking to do exactly what you have done here.  Hoping you'd be willing to share your widget.  I'm not sure how to email you directly, but you can reach me here - jpiascik@connecticutchildrens.org

Hi Abcadaret,

I am new to service portal widgets and would interested to know how to configure these. Let me know.

 

Thanks

 

Please email me at shawn.miller@mercy.net. I have a very similar requirement. I also have a couple questions that you might be able to assist with.

Community Alums
Not applicable

Can you please share the code in community, it will be very helpful to the developers who are new and people who have similar requirement. 

Thanks in advance!

Chris L5
Tera Contributor

Hi,  I was hoping that you might be able to point me in the right direction for getting access to your code (or an example / tutorial) for your Customization of the Service Portal Data Table Widget.

This looks like an excellent idea.. especially having a data entry form along side the data table view.

I am investigating options to help Users with submitting data that could take them days to figure out what they need to provide to the data entry form. 

Obviously session time outs will be a problem for these Users... 

I am looking at options for saving as much data as they have provided (automatic saves via Ajax most likely).. that way when the inevitable Session Timeout hits (security restraints and resources must be adhered to)...  they have as much data saved as possible.

Then when the User logs back in.. they are back to their Data Entry Form with just a click (or two)... and the form's Data Table / (Data Grid ?) will show the rows of data that they have entered since the last time they were logged in.

Only when the User officially "submits" the form (essentially stating that they  "Really Are Done Now")... will the Data be considered usable by the rest of the system.    I will have to mark the data as "intermediate or temporary.. or something of that nature etc..)

But having the Data Table and the Form on the same page would go a long ways to making this idea work...

If you wouldnt mind, I would love having access to a GitHub page.. or at least your recommendations on Articles/Tutorials that you found useful when figuring out your solution.

 

Thanks so much for your Blog.. 

Looking forward to any suggestions or guidance you can provide.