Symptom
- The code bellow adds a new object rather than just modifying an existing folder description:
var infoStore = BOWrapper.InfoStore;
var query = new StringBuilder("SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND='Folder' AND SI_ID=").Append(folder.Id);
InfoObjects infoObjects = infoStore.Query(query.ToString());
InfoObject infoObject = infoObjects[1];
PluginManager pluginManager = infoStore.PluginManager;
PluginInfo pluginInfo = pluginManager.GetPluginInfo("CrystalEnterprise.Folder");
infoObjects.Add(pluginInfo);
infoObject.Title = folder.Title;
infoObject.Description = folder.Description;
infoStore.Commit(infoObjects);
Read more...
Environment
- SAP BusinessObjects 3.x
Product
SAP BusinessObjects Enterprise XI 3.0 ; SAP BusinessObjects Enterprise XI 3.1
Keywords
KBA , BI-DEV-NET-CMC , Obsolete, not used anymore , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview