This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Quick Refresh External Objects with VBScript

Former Member
Former Member
Hi all,

I want to setup VBScript to a scheduler that performs a quick refresh on external objects at given intervals.

Does anyone have some examples or guidance on how to do this?

Best Regards,
Conny
Parents
  • Former Member
    Former Member
    Hi Joonas,

    If that would have been the case we would not have needed the script.

    This is according to the https://kb.cloudvault.m-files.com/Default.aspx?#3ECA226F-7B54-428B-B539-DE443E6134EC/object/3AEC36EE-946C-4B0C-9DE2-8BF82DED3078/latest
    4.1 Quick Refresh Interval
    The quick refresh operation is started automatically if the value list is requested by a client (for instance, the metadata card
    containing a property that uses an external value list or object type is viewed) and if the latest refresh was executed more
    than 15 minutes ago.


    When we are creating new objects, the automatic quick refresh is not activated.

    For example, a new object is created in the external list. The value list can thus not be requested. The user does not view any old objects, and the quick refresh is not triggered. The user does not want to manually refresh, so we do it on the server side. We had one user who had to wait 1.5 hours for the quick refresh, and that is why we need it.

    Best Regards,
    Conny
Reply
  • Former Member
    Former Member
    Hi Joonas,

    If that would have been the case we would not have needed the script.

    This is according to the https://kb.cloudvault.m-files.com/Default.aspx?#3ECA226F-7B54-428B-B539-DE443E6134EC/object/3AEC36EE-946C-4B0C-9DE2-8BF82DED3078/latest
    4.1 Quick Refresh Interval
    The quick refresh operation is started automatically if the value list is requested by a client (for instance, the metadata card
    containing a property that uses an external value list or object type is viewed) and if the latest refresh was executed more
    than 15 minutes ago.


    When we are creating new objects, the automatic quick refresh is not activated.

    For example, a new object is created in the external list. The value list can thus not be requested. The user does not view any old objects, and the quick refresh is not triggered. The user does not want to manually refresh, so we do it on the server side. We had one user who had to wait 1.5 hours for the quick refresh, and that is why we need it.

    Best Regards,
    Conny
Children
No Data