Unable to configure Time Card Portal / Time Card Grid widget

j0unss
Tera Expert

Hi,

 

I would like to remove category "Resource Plan" from Time Card Portal, but i'm unable to do so. 

 

I figure it out that I should comment out section "Adds resource plan column by default" from Time Card Grid, but after that I'm unable to Save the Widget. Then I try just to Save the Time Card Grid without any changes, but I'm unable to do even that.

 

I recieve error: Client controller must contain a JavaScript function, see default value for example

j0unss_0-1706702936972.png

 

j0unss_1-1706702949416.png

Any ideas what should I do?


Kind regards,

j0unss

4 REPLIES 4

PavanSanthoship
Tera Contributor

Hi j0unss,

could you please help me, did you find any solution for the above error?

Regards,

Pavan

Hi @PavanSanthoship 

I did manage to solve this. It was due there was too many or too few spaces in Client Controller code, see example below. After I edited the code I was able to save my widget.


 

Thanks for the reply j0unss, another way to avoid the error and save is to edit the widget via widget editor. This worked for me too.

 

Regards,

Pavan

Tejal Patil1
Tera Expert

Hello @j0unss 

 

I have a same requirement to remove 'Resource Plan' field. Could you please tell me what changes needs to be done in Time Card Grid widget?