cancel
Showing results for 
Search instead for 
Did you mean: 

workview external class based on a result of unity script

Massoundi_Omar
Confirmed Champ
Confirmed Champ

Hi

Did someone experienced a workview external class based on a results of unity script ? i'm searching for the best practices, a quick steps guide or even a sample if possible ...

Thanks

1 ACCEPTED ANSWER

Patrick_Ramser
Star Contributor
Star Contributor

From Rob's sub-comment above:

"If you're trying to create an external class that uses the IWorkViewGetExternalClassDataScript interface, there's two methods of interest on that class. OnWorkViewGetExternalObject has the WorkViewGetExternalObjectEventArgs that exposes an ExternalObject that you can populate with attributes with SetAttributeValue. OnWorkViewPopulateExternalFilterResults.WorkViewPopulateExternalFilterResultsEventArgs provides access to the filter through FilterQuery; you can create several external objects through CreateExternalObject() and add them to Results."

If this isn't correct or you have anymore questions, comments, or need anything more in-depth, feel free to reach out to your first line of support, and if available, us at apisupport@onbase.com.

View answer in original post

5 REPLIES 5

Patrick_Ramser
Star Contributor
Star Contributor

From Rob's sub-comment above:

"If you're trying to create an external class that uses the IWorkViewGetExternalClassDataScript interface, there's two methods of interest on that class. OnWorkViewGetExternalObject has the WorkViewGetExternalObjectEventArgs that exposes an ExternalObject that you can populate with attributes with SetAttributeValue. OnWorkViewPopulateExternalFilterResults.WorkViewPopulateExternalFilterResultsEventArgs provides access to the filter through FilterQuery; you can create several external objects through CreateExternalObject() and add them to Results."

If this isn't correct or you have anymore questions, comments, or need anything more in-depth, feel free to reach out to your first line of support, and if available, us at apisupport@onbase.com.