Clone Time Card Header

Hrishabh Yadav
Tera Contributor

After cloning the Widget Time Card Portal Header (id: tcp-header) when selecting the 'My Time Sheet' option in the Cloned widget in Time Sheet Portal its showing below error 

The page you are looking for could not be found. 

1 ACCEPTED SOLUTION

No need to make changes to Server script of cloned widget. Only replace the name of template in HTMP part of widget. 

Do not change the server side lines.

if(!input){
data.notificationWidget = $sp.getWidget('tcp-notifications');
data.impersonation = $sp.getWidget('tcp-impersonation');
}
 
Keep above lines as it is.
 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

5 REPLIES 5

No need to make changes to Server script of cloned widget. Only replace the name of template in HTMP part of widget. 

Do not change the server side lines.

if(!input){
data.notificationWidget = $sp.getWidget('tcp-notifications');
data.impersonation = $sp.getWidget('tcp-impersonation');
}
 
Keep above lines as it is.
 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande