You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Correctly render text

Accepted answer
14
Views
3
Comments
edited Aug 18, 2019 6:55PM in UI Extensibility 3 comments

Summary

How to correctly render text in workspace?

Content

I am accessing the workspace through BUI and reading the contents of a text field with the getField method that the WorkspaceRecord provides. After doing some calculations with this data, I need to render the results back to the user. The problem is, since the results that a I need to display are just some additional information, I can’t use the updateField method because it triggers a “Save changes?” dialog and this extra data, shouldn’t be saved with the record. I tried to create an empty multiline text box and set it with document.querySelector('textarea[id^="TextBoxControl"]').value = resultText; in the add-in code

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!