The CreatorCon Call for Content is officially open! Get started here.

My Requests Widget Change

Sam Ogden
Tera Guru

Hi All,

I've added the 'My Requests' widget to the service portal that I am configuring.   When it reaches the display limit it just displays the following message:
'First 5 of 48 shown', On the simple list widget it gives the option to 'view all' and then takes you to a table view to see all the logs.   How can something similar be added to the 'My Requests' widget?

find_real_file.png

Any help is greatly appreciated.

1 ACCEPTED SOLUTION

Hi Sam,



I would suggest that you go to Widget Instances, Open the widget instance for My Incidents and change the following fields



Title: My Requests


Table: Requested Item


Filter: Active is true and other filters as required



Perform an Insert and Stay, This has created a new instance of simple list that you could add on your portal


find_real_file.png




Thank You


Please Hit Like, Helpful or Correct depending on the impact of response


View solution in original post

13 REPLIES 13

Hi Sam,



I would suggest that you go to Widget Instances, Open the widget instance for My Incidents and change the following fields



Title: My Requests


Table: Requested Item


Filter: Active is true and other filters as required



Perform an Insert and Stay, This has created a new instance of simple list that you could add on your portal


find_real_file.png




Thank You


Please Hit Like, Helpful or Correct depending on the impact of response


Thanks Alikutty,


I think this should work for us,


navinwosti
Tera Contributor

Hi ,


So following the below steps I was able to create "My Request" custom widget with "View All" functionality:


1.First clone the OOB "My Request" widget so that customization can be done.


2.Append the OOB codes by adding "View all" codes from Simple list widget in HTML template.(From Code A to Code B )


find_real_file.png



 


3.Create a page with "Data Table from URL Definition" widget.Also Ctrl>Rt.click and in instance Options add the following:


find_real_file.png


4.Add following codes in Client Script(referred from Simple list with minor changes)


find_real_file.png


5.If you want to add filter then follow the following:



    Note:You can add filter accordingly for this custom widget the way you want to filter under Instance Options:


find_real_file.png



In server script,



find_real_file.png



6.Tadaa,done!!!


Thank you this got me much further then I was.  However that said I am not able to get the filter to apply to the request_list page that I created.  It always shows me all request in the system instead of showing only active that were opened by me or I was the requested for.

Any ideas on why that might be?