Solved

refresh server cache- custom fields issue

  • 22 July 2021
  • 5 replies
  • 414 views

Userlevel 5
Badge +9

Hi,

Custom field is not getting refreshed, Please see the date in the image below.

What could be the reason?

Thanks in advance

 

 

icon

Best answer by Charith Epitawatta 22 July 2021, 12:21

View original

This topic has been closed for comments

5 replies

Userlevel 7
Badge +31

Hi @proharikg,

This is by design. You cannot refresh Custom Objects cache from here. When you do certain operations such as publish or synchronize in custom fields, the caches will be refreshed automatically via application logic and the time is updated here. Ideally, the option to refresh it from here should be disabled to avoid any confusions. 

However, if you want to explicitly refresh Custom Objects cache due to some reason, you can do it by manually running following PL/SQL Block.

BEGIN
Install_Tem_SYS.Installation_Support('REFRESH_CUSTOMOBJECTS', NULL);
END;

This is the method IFS installer uses to refresh Custom Objects cache during delivery installations and reconfigurations. 

Hope this helps!

Userlevel 5
Badge +8

Hi @proharikg ,

 

As far as I know it is a design limitation but once you  synchronize the custom objects, the database will be cleared and redeploy the custom fields. Then when you do the reload configuration, the necessary client caches will changed. 
Therefore, it won’t be an issue when adding a custom object.


Thanks & best Regards,
Wimali

Userlevel 7
Badge +18

Hi @proharikg,

This is by design. You cannot refresh Custom Objects cache from here. When you do certain operations such as publish or synchronize in custom fields, the caches will be refreshed automatically via application logic and the time is updated here. Ideally, the option to refresh it from here should be disabled to avoid any confusions. 

However, if you want to explicitly refresh Custom Objects cache due to some reason, you can do it by manually running following PL/SQL Block.

BEGIN
Install_Tem_SYS.Installation_Support('REFRESH_CUSTOMOBJECTS', NULL);
END;

This is the method IFS installer uses to refresh Custom Objects cache during delivery installations and reconfigurations. 

Hope this helps!

Thank you @Charith Epitawatta  for this information. I was also being confused of this behavior. Now I know. 😊

 

Thanks,

Userlevel 5
Badge +9

Hi @proharikg,

This is by design. You cannot refresh Custom Objects cache from here. When you do certain operations such as publish or synchronize in custom fields, the caches will be refreshed automatically via application logic and the time is updated here. Ideally, the option to refresh it from here should be disabled to avoid any confusions. 

However, if you want to explicitly refresh Custom Objects cache due to some reason, you can do it by manually running following PL/SQL Block.

BEGIN
Install_Tem_SYS.Installation_Support('REFRESH_CUSTOMOBJECTS', NULL);
END;

This is the method IFS installer uses to refresh Custom Objects cache during delivery installations and reconfigurations. 

Hope this helps!

Thank you so much Charith,

 

regards,

Hari

Userlevel 5
Badge +9

Hi @proharikg ,

 

As far as I know it is a design limitation but once you  synchronize the custom objects, the database will be cleared and redeploy the custom fields. Then when you do the reload configuration, the necessary client caches will changed. 
Therefore, it won’t be an issue when adding a custom object.


Thanks & best Regards,
Wimali

Thank you Wimali