I have to set Holiday on portal.

niveditakumari
Mega Sage

Hello, 

 

I have to set Holiday on portal. In portal we are having Holiday Calendar and when we click on view holidays it shows upcoming holidays. 

Please see attached screenshot : 

 

niveditakumari_1-1688587651710.png

 

Now we are getting Holiday Name then Holiday date.  

niveditakumari_0-1688587625318.png 

 

I have to make changes in layout. 

Expected : 

ex- Mon dd - Holiday Name
ex: Jul 04 
 
We are having widget and code is available for existing layout and I have to do changes for new layout. 
I tried to do modifications in existing widget but I'm getting some error. 
 
niveditakumari_2-1688588012371.png 

 

 
Please help to correct it and suggest code to achieve my requirement. 
 
Regards, 
Nivedita
 
 

 

1 ACCEPTED SOLUTION

Prateek kumar
Mega Sage

You are getting cross scope previlage restriction error.

https://www.servicenow.com/community/hrsd-blog/how-to-fix-the-red-popup-quot-must-declare-a-cross-sc...


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

View solution in original post

4 REPLIES 4

Prateek kumar
Mega Sage

You are getting cross scope previlage restriction error.

https://www.servicenow.com/community/hrsd-blog/how-to-fix-the-red-popup-quot-must-declare-a-cross-sc...


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Hi @Prateek kumar

 

Thank you for your reply. 

It worked. 

We are having holiday format in below format and we have to change that

niveditakumari_0-1688633594337.png

 

I have to make changes in holiday layout. 

Expected : 

ex- Mon dd - Holiday Name
ex: Jul 04 
 
We are having widget for existing layout. 
Can you please tell what are changes do I need to do to achieve that. 
 
Regards, 
Nivedita
 
 

Hi @Prateek kumar

 

I have set allowed for Application Restricted Caller for read action. It is automatically set to invalidated when I'm changing scope from Human Resources : core to Employee Centre Pro. It is showing error when I'm adding application scope as Employee Centre Pro. 

Can you please correct me to achieve it. 

 

niveditakumari_0-1688656536763.png

 

Regards, 

Nivedita

 

 

Servicenow34
Tera Guru

@niveditakumari 

Could you please guide us is this the OOB widget or custom one ?

We need to add same widget on portal.

 

Thank you!