How to enter Refresh Time Parameters in HCMS?

Hi, Does anyone know how to enter the value for the Refresh Time parameters in the HCMS? I’ve an API in my experience and would like to be able to change the Refresh Time in the API from the HCMS but I do not know how to bind the value or enter the right parameters for the Refresh Time. I have created a Variable for the refresh time in HCMS but I do not know the format that I need to enter since this is a time value. I tried 00:02 or 00:00:02 and it does not bind it. I believe my format parameter is wrong.Can anyone help?
image

Hi,
Manage to figure out a solution to my problem. When I enter the value 00:00:02 in the HCMS, somehow it does not bind with the Refresh Time. Not sure why. So what I did was to create a Global Variable and bind the value from the HCMS, then I will bind the Refresh Time (API Explorer) to the Global Variable. Even though there is an extra step but at least it works.


1 Like

Hi @dev1

After further investigation, I think the issue comes from the fact your HCMS base isn’t fully loaded when the binding is evaluated.

A more simple and elegant way to solve your issue is to simply put a Trigger/Action on your HCMS base in order to set the Refresh Time once the base is synchronized.

Something like this:

WHEN “sync completed” on your HCMS Base
THEN

  • Set Refresh Time with binding to the value stored in HCMS
  • Set Automatic Refresh to True

Regards,

Alex.

1 Like

Hi Alex,

In the HCMS, do you add Text in the structure and add the time in the content like this 00:30:00 if I wanted every 30 minutes?

Also, why does the refresh time appears to be 0m 0s when binded?

Thank you.

Hi @ahmed,

Alex is no longer working with Intuiface, so I’ll try to answer here based on what I remember from this 3-year-old topic :slight_smile:

Yes, you would enter the time in a Simple Text field using 00:30:00 to set it to 30 minutes.

I tried a few things, and although this method seems to work with Player Classic, there seems to be some issues with Player 8.

Note I only tried to bind directly the property “Refresh Time” of the REST IA to that HCMS timestamp field. I haven’t tested yet with a trigger to use the “Set Refresh time” action.

I’ll report this to our team so they can investigate.

In the meantime, I’d suggest using a static value for that Refresh time in your XP.

Thanks, Seb.

Yeah, I resorted to the old ways.