Page 5505373 M365 Html Preview
Page 5505373 M365 Html Preview
Language | Caption |
---|---|
de-DE | HTML-Voransicht |
es-ES | Vista previa de HTML |
en-US | HTML Preview |
it-IT | HTML Preview |
Methods
SetContent
procedure SetContent(newContent: Text)
Set the HTML content to show. If the add-in is not ready yet, this will be deferred until it is.
Parameters / Return Value
newContent
Text[]
Text
Navigate
procedure Navigate(newUrl: Text)
Navigate to the specified URL. If the document is fully loaded, the OnDocumentReady() event is raised.
Parameters / Return Value
newUrl
Text[]
Text
PostMessage
procedure PostMessage(message: Text; targetOrigin: Text; convertToJson: Boolean)
Unknown :)
Parameters / Return Value
message
Text[]
Text
targetOrigin
Text[]
Text
convertToJson
Boolean
Boolean
IsReady
procedure IsReady(): Boolean
Returns true if the add-in is ready, fales otherwise.
Parameters / Return Value
Returns
Boolean
Boolean
Events
OnAddInIsReady
local procedure OnAddInIsReady(callbackUrl: Text; var htmlContent: Text)
Parameters / Return Value
callbackUrl
Text[]
htmlContent
Text[]
OnDocumentReady
local procedure OnDocumentReady()
OnRefresh
local procedure OnRefresh(callbackUrl: Text)
Parameters / Return Value
- callbackUrl
Text[]
OnCallback
local procedure OnCallback(data: Text)
Parameters / Return Value
- data
Text[]
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
EOS Labs -