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

On-call scheduling help

anusarma
Kilo Expert

Hi All,

On the on-call schedules page ($oc_groups), under "all on-call schedules" tab, if we click on a roster name, then it would display the contact details of the roster, which has one phone number, one email address, etc. We needed to display 3 phone numbers from the user profile (on sys_user table) here instead.

I had checked the UI page "$oc_groups" and found that the data is fetched from the UI script "sn_on_call_now.app". However, am not able to locate where exactly and how to make this modification. I guess it is further displaying the detail using the UI macro "on_call_avatar". However, am not getting from where this value is fetched. Could someone help please me with this?

Thanks in advance,

Anu

1 ACCEPTED SOLUTION

anusarma
Kilo Expert

We modified the "on_call_avatar" macro for the UI and "OnCallRotation" script include for the data, and it worked!

View solution in original post

11 REPLIES 11

Community Alums
Not applicable

You'll need to some how modify whats in sn-oncall-audience-profile ,  however that my be proprietary and hard to get to, or hidden behind what we like to call "Maint Wall".

The details appear to be contained within audienceDetail however I too am unable to find the source of this data easily.

Appologies

anusarma
Kilo Expert

We modified the "on_call_avatar" macro for the UI and "OnCallRotation" script include for the data, and it worked!

Can you elaborate a bit more on what you changed.  I found this post looking to do nearly the opposite (We want to hide the phone#, but still allow calls to be initiated through Notify).  You had my hopes up, but I'm betting this is a version difference.  Changing that UI Macro has no impact to the On-Call Screens in my Madrid instance.

 

Which might be bad for you if you are about to release something that will go away in your next upgrade.

I figured out what my issue was.  Two fold, first the UI Macro used in Madrid is oc_audience_avatars.  Secondly that template created by the macro seems to get cached by the browser, so as I was making changes to it and refreshing, it didn't appear that it was working.  Using an Incognito window to view my changes I was able to get where I wanted.  The cache does eventually catch up, maybe within a day.