Retrieve Asset ID from workspace addin THAT can be placed in Asset workspace
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 2015Code 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());
0