User data to be passed to the service with the next Documents Service call.
Object.defineProperty(Document.prototype, 'serviceUserData',
get: function(),
set: function(value)
)
serviceUserData: any;
A JSON-compatible object. Default value is null.
In some instances, a developer may want to send arbitrary data to the service with any request.
This is allowed through ServiceUserData and ServiceUserData.
When the ServiceUserData
property is set, it will be passed to the service with the next Documents Service call.
The Documents Service can be modified to use this userData
.
ServiceUserData and ServiceUserData can be cleared after a successful service call.
In the event that user data is returned as part of a response from the Documents Service,
the data object is available as a second argument to any done
callback function that is defined for the returned
Promise.
If the object is not JSON-compatible (meaning, for example, it contains a looping structure through properties),
the service call will produce an error and not run.
Please note that if a user-data object containing a JavaScript function
is to be passed to the Documents Service, it must be as a
string.
Refer to Promises in the Documents Service Library for more information.
Products |
Support |
Feedback: serviceUserData Property (Document) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.