Skip to main content

StatusArgs?

Comments

4 comments

  • Permanently deleted user
    text: string

     

    The message text to display.

     

    imageUri?: string

     

    The URI of the image icon to show beside the text.

     

    userClosedCallback?: () => void

     

    A callback function to invoke when the status message is dismissed by the user.

     

    imageClass?: string

     

    The css class name to apply so that an image can be shown using css.

     

    id?: string

     

    The ID of the status message. You can use this ID later on for the "PulseStatus" command and the "RemoveStatus" command. If you do not supply a value, an ID will be created and assigned to id property so that you can use it later on.

     

    timeoutMS?: number

     

    The timeout in milliseconds after which time the status message will go away. A value of 0 or less than 0 means never time out.

     

    showBusyIcon?: boolean

     

    If set to true, then a busy icon will be used - likely an animation to shown activity.
    0
  • Luuk Schaminée
    for example you can pass the following argument:

     

    Newtonsoft.Json.Linq.JObject.Parse("{text: 'your text',showBusyIcon:true}")

     

     
    0
  • Permanently deleted user
    I've been using the Newtonsoft.Json.Linq.JObject.Parse method in GE 4.6.3 and GVH 2.7.2, but now it is not working in GE 4.7 and GVH 2.8.

     

    I get the following error:

     

    Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

     

    Any ideas on how to generate the StatusArgs object in GE 4.7 / GVH 2.8?
    0
  • Permanently deleted user
    Nevermind, just fixed my issue in GE 4.7 and GVH 2.8. It ended up being caused by a version mismatch, the Manager web.config file was still referencing version 8 of the Newtonsoft.Json assembly. When I did another install of GE 4.7 version 9 was referenced and then it worked.
    0

Please sign in to leave a comment.