- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 11:28 PM
In Employee center, there is a widget performance indicator which is present in all pages and floats on left hand side,
is there a possibility to copy this functionality for another custom widget
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 04:50 PM
I don't think that there is a widget to assign the survey. There is a widget that will show that surveys are available that are already assigned for the user.
But it is possible to create the widget that could do that. One way is to replicate what the "Assign Survey" UI action does. Then embed that widget in your Header of the theme applying the position styling so that it appears to float.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 08:48 AM
You are welcome. I'm glad I can help.
Hopefully this can clear some things up.
Type ID is a universal id of the metric type. It can be used for any user. What it will do is get the earliest instance of that type and pass to the widget.
The "View Survey URL" related link uses this sys_id
However, the widget can also take the instance sys_id which is the actual sys_id of the instance for a specific person that is assigned to the survey.
Thus you can use either sys_id. But it has to be passed with the proper object property type_id or instance_id, respectively.
And you can see in the following image my setup is just like yours where I'm hard coding the sys_id except using the type_id. (note: the icon doesn't show because i'm not in a portal with the theme)
Here it is as Joe Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 09:08 AM
I have been able to create and assign the survey as well, within the widget
So who ever clicks on the menu item, now gets a survey and it opens for them in widget itself
Type id and instance id, I got the understanding now.
We made a mess of this question. But it is very helpful for me
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 08:07 AM
Oh, I see. This sys_id cf6e97d35d371200964f58e4abb23f18 is the metric type so the type_id and not the instance_id. The UI related link in the Survey instance uses the type id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 09:06 AM
This sys_id "502a2c44d7211100158ba6859e6103a3" is also a type id.