You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Retrieve Asset ID from workspace addin THAT can be placed in Asset workspace

Received Response
10
Views
5
Comments
edited Jul 14, 2015 12:48AM in UI Extensibility 5 comments

Content

I am trying to write an addin to retrieve contents of Asset. Apparently,  it is not possible to access Asset type object ..So, how can I get ASSET ID AT LEAST? by that way, I can force a save and retrieve asset data by means of ROQL or even GET object of SOAP CWS call...

style="width: 586px; height: 166px;" width="1099" />

Version

May 2015

Code Snippet

                             _igx.AutomationContext.CurrentWorkspace.ExecuteEditorCommand(RightNow.AddIns.Common.EditorCommand.Save);

                IGenericObject ig = (IGenericObject)_igx.AutomationContext.CurrentWorkspace.GetWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Generic);
//TRIED WITH GENERIC OBJECT...IT AIN'T WORKING...:-(
                MessageBox.Show(ig.Id.ToString()); 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!