Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Embed Viewer in own program
mbj
Does anyone know if it is possible to integrate the Worksite Viewer into ones own program?
Our setup:
We are currently using Worksite 8.2, and have our own developed CRM System made in Delphi.
We are using the Worksite API via Com objects, and when we want to quick view a document, we launch the following code:
begin
...
_INrtDocument := _INrtDatabase.GetDocument( ### ); // ### = Document number
_InrtDocument := _InrtDocument.LatestVersion;
ar := VarArrayCreate([1,1], varDispatch);
ar[1] := _INrtDocument;
ContextItems := TContextItems.Create(Self);
ContextItems.Add('ParentWindow', self.handle); // Self handle refers to main form in our program
ContextItems.Add('SelectedNRTDocuments', ar);
ViewCmd := TViewCmd.Create(self);
ViewCmd.Initialize(ContextItems.DefaultInterface);
ViewCmd.Update;
ViewCmd.Execute;
...
end;
As it is now, the Interwoven viewer program launches, but my wish is to have the programs "parent window" to be a Panel in our CRM.
As of what I can se, it is the same QuickView program/dll form that is launched inside Desksite.
Cheers,
Martin
Find more posts tagged with
Comments
Migrateduser
Not to my knowledge
Worksite 8.2 uses INSO to render the document (i've lost track on who owns this now)
Worksite 8.5 uses Keyview and now has and API call to return the document content as html, which makes this a bit easier :-)
mbj
Thanks, I'll try a google search for further investigation :-)