Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the user’s or the applications’s selection to an HTML fragment that can be shared.
![]() |
Syntax
var retVal = MSApp.createDataPackageFromSelection();
Parameters
This method has no parameters.
Return value
Type: any
Contains the HTML markup for the specified range.
Remarks
If there is no user selection anywhere within the application’s UI, the createDataPackageFromSelection returns null
.
The returned data package for the selection contains HTML markup in clipboard format.
Note There are no available properties for the returned data package.