I'm working on a custom view for the TCP Web Client 10.2.1, and I need to add the viewer exactly like how it is done currently on the Inspect and Edit form. I don't see any example on how to do this in "TCP Programming documentation and samples".
I've tried the following code to invoke the viewer in the 'Execute' method of my custom action that calls the view, but nothing seems to occur. The tcpwebclient.log does show that it builds the viewer but for some reason it doesn't render on the page.
ViewerAction viewerAction = new ViewerAction();
viewerAction.Context = this.Context;
viewerAction.Id = "IdShowInplace";
viewerAction.ExecutionParam = new InspectArgs(recordId);
viewerAction.Execute();
Thanks,
Zach