How to use BatchSecurityItem  in BusinessObjects Enterprise SDK

Hi All,
          Can you please provide me code snippet or hint,to use BatchSecurityItem  Class in BusinesObjects Enterprise SDK.I am struck.Please help.
Regards,
Simha

The InfoObjects.BatchSecurityItems collection property is used to speed up performance when you're trying to check multiple rights for an InfoObject.
Whenever you check for a InfoObject right via the InfoObject.SecurityInfo, it sends a round-trip request to the CMS for per method call.  The round-trip to the CMS makes it slow.  To help with performance, each right you check via a method call is cached on the SDK side.
You can use the InfoObjects.BatchSecurityItems to 'pre-cache' rights by Object ID and Right ID, such that a single request is made for a collection of rights, and cached SDK side.  So subsequest requests to InfoObject.SecurityInfo for rights will use the cached value.
It's pretty straightforward to use - make your Enterprise SQL request for InfoObjects from the InfoStore.  Retrieve the BatchSecurityItems collection.  For each right you want to check (say from the CeSecurity.Right enumeration), call BatchSecurityItems.Add for the right ID and object ID.
Then invoke BatchSecurityItems.Fetch().
That's pretty much it.  Then subsequent queries to the InfoObject.SecurityInfo will use the cached security rights info.
Sincerely,
Ted Ueda

Similar Messages

  • The dependency 'BusinessObjects.Enterprise.Sdk' could not be found.

    Hi,
    Can anyone help me solve this problem, its my first time using crystal reports
    i have installed VS 2003 and Crystal report XI professional Edition, i am trying to run the system but it is complaining about the BusinessObjects.Enterprise.Sdk not found, I read from another post where they say crystal report XI comes with BOE sdk so i dont have to install it separately, so i was advised by someone to reinstall Crystal report but it didnt solve my problem.
    i also have another error "The dependency 'CrystalDecisions.Enterprise.PluginManager' could not be found." which im assuming its caused by the sdk error.
    Does anyone have an idea how to solve this problem?

    Hello,
    The Professional editions of Crystal Reports XI (v11.0) and Crystal Reports XIR2 (v11.5) are not development level products. This means your VS IDE didn't get updated to stand alone versions of the various Crystal assemblies. I would expect that the Crystal references in your VS2003 application are v9.1.5000 because CR XI/XR2 Professional doesn't update your IDE.
    If you're trying to develop an application that interacts with a BusinessObjects Enterprise (BOE) system then you need to install the BOE .NET SDK onto your development machine. The BOE .NET SDK (for CR XI (v11.0) and CR XIR2 (v11.5)) has to be installed from the Enterprise installer media. It can not be downloaded.
    You can install the BOE .NET SDK using the u201CServer Installu201D path after launching the BOE installer. Just choose Server Install u2013 you will need your BOE keycode. Next choose Custom install.  You'll be presented with a drop down list for the Enterprise components.  Deselect everything and then look for the Developer Components option.  You may have to drill down into one of the levels to find it.  Under Developer Components you'll see the BusinessObjects Enterprise .NET SDK.  Select it to install to the development machine.  This should allow you to work with the Enterprise .NET SDK.
    When you are ready to deploy your .NET application you will also need to install the .NET SDK onto the Web application server (assuming it's not also your Enterprise server). This is because we are not fully managed by the .NET Framework.
    Sincerely,
    Dan Kelleher

  • Could not load file or assembly 'BusinessObjects.Enterprise.Sdk' with 64 bit SDK

    I am running across an error that I do not fully understand when trying to get the SDK to work for 4.1 SP04. I have been trying to get this solution for a while now. I am able to run the SDK functionality with the 32 bit version without an issues however, my client would like to run the 64 bit version to align with their architecture. I have added the x64 DLLs to my project in VS2013, and compiled and built the project as a 64 bit project. I am receiving the following error message:
    Could not load file or assembly 'BusinessObjects.Enterprise.Sdk' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    When building the project to build on "Any CPU" instead of x64 or x86, I am seeing the following messages:
    Warning    1    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "BusinessObjects.Enterprise.Sdk, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.    DemoWeb2
    Warning    2    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CrystalDecisions.Enterprise.Framework, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=x86", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.    DemoWeb2
    Warning    3    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CrystalDecisions.Enterprise.InfoStore, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=x86", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.    DemoWeb2
    Warning    4    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CrystalDecisions.Enterprise.PluginManager, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=x86", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.    DemoWeb2
    I have made sure that I am referencing the 64 bit sdk .dlls from C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\. I only have 64 bit installed as well. Are InfoStore, Framework, and PluginManager only x86?
    Thanks!

    Hi Dustin
    You do  not need to be concerned if your app references 32 or 64 bit assemblies. VS being 32 bit, needs to reference 32 bit assemblies in order to compile correctly. Thus running the app from the VS IDE, you wil be using 32 bit assemblies. Using a compiled exe or a DLL, the app will use 32 bit or 64 bit assemblies depending on how the app was compiled and "bitness" of the OS.
    E.g;; an app compiled as 32 bit will require 32 bit assemblies
    An app compiled as 64 bit will run 64 bit assemblies - on 64 bit OS only.
    An app compiled as "Any CPU", will run 32 b it or 64 bit assemblies, depending on the OS. On a 64 bit OS, the app will by definition use 64 bit assemblies (but it is up to you to deploy the 64 bit runtime - not the 32 bit runtime). On a 32 bit OS the app will use 32 bit assemblies.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Where can I get BusinessObjects.Enterprise.SDK?

    I've been trying to get this to work for some time now.  I have the following code trying to connect to an existing remote server (InsiteDev).
    SessionMgr session_mgr = new SessionMgr();
    EnterpriseSession session = null;
    try
         session = session_mgr.Logon("Administrator", <-- password -->, "InsiteDev:6400", "secEnterprise");
         InfoStore store = (InfoStore)session.GetService("InfoStore");
         InfoObjects reports = store.Query("Select * From CI_INFOOBJECTS");
    catch
    finally
         if (session != null)
              session.Logoff();
    But I always get this error message when calling GetServer
    Could not load file or assembly 'BusinessObjects.Enterprise.Sdk, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    I've installed BOE XI 3.0 (full install including all the servers) and a full install of Crystal Reports 2008.  But the BusinessObjects.Enterprise.SDK is not found anywhere.  The %ProgramFiles%\Business Objects\Common\4.0\managed only contains CrystalDecisions assemblies.
    What am I missing here?  Which install am I suppose to run in order to get this simply program to work?
    Thank you for your help.

    You get it from SAP Service Marketplace - if you're not familiar with how, then likely there's someone in your organization who's the Support contact for SAP Business Objects products who would know how.
    Sincerely,
    Ted Ueda

  • BusinessObjects.Enterprise.Sdk

    Error when a program tries to load BusinessObjects.Enterprise.Sdk.dll, Windows cannot locate the nunit.framework.dll.
    I look on all CDs but I could not find it. Where can I locate the missing DLL?

    Hi Alain,
    It seems that you are having issue with .Net SDK's.
    Post your question in Business Objects SDK Application Development forum.
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all SDK queries remain in one place and thus can be easily searched in one place.
    Regards,
    Shweta

  • BusinessObjects Enterprise SDK登录CMC出错

    BusinessObjects Enterprise SDK登录CMC出错:All the servers with APS 10.16.11.83, cluster  and kind aps are down
    请问是什么原因?

    没有在10.16.11.83这个host找到可以用的cms
    请检查,昂你用CMC直接登陆的时候,用的CMS String就是你用API登陆时候使用的CMS String
    Best Regards
    Carlos Chen

  • Problem with Publishing a project and BusinessObject.Enterprise.SDK.dll

    I am trying to publish my Visual Basic Application and it comes up with an error of Unable to find file BusinessObject.Enterprise.Sdk.ziplib.netmodule of multi-file assembly BusinessObject.Enterpise.Sdk.dll.  A file is there where it is looking for it but it is named BusinessObject.Enterprise.Sdk.ziplib.netmodule.bakSp1.
    It is also giving me the same error with the folowing files:
    BusinessObjects.Enterprise.Sdk.dll
    BusinessObjects.Enterprise.Sdk.SS1.netmodule
    BusinessObjects.Enterprise.Sdk.netmodule
    All of the files are there but they end with a bakSp1
    Does anyone have a clue as to what I am doing wrong?
    Thanks for any advice

    Are those assemblies in the GAC?  They should have been added to the GAC with the install.
    The bakSp1 suffix tag RTM files that were upgraded by installing Service Pack 1.  There should be two files there - one with the bakSp1 (the backup) and one without.
    It may be that your installation was misconfigured.
    Sincerely,
    Ted Ueda

  • Where to get the BusinessObjects Enterprise SDK - Java Libraries

    Hi All,
    I have installed the Crystal Report Server XI R2 but where to get the java sdk that I will use in my client j2ee web application?
    These are the folders in my CR Server directory.
    /BusinessObjects Enterprise 11.5
    /Business Objects/common/3.5/java/lib
    It seems that I will get the jar from this folder but what are those jars?
    /Business Objects/common/3.5/java/lib
    What are the list of jars that my client web application used?
    Basically in doing my POC work I need these library imports
    <%@ page import="com.crystaldecisions.sdk.exception.*"%>
    <%@ page import="com.crystaldecisions.sdk.framework.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*"%>
    Thanks in advance.
    Regards,
    Rulix
    Edited by: Rulix Batistil on Nov 4, 2008 11:38 AM

    Hi Rulix
    From the packages that you have included ,it seems that you are using managed RAS SDK for the functionality that you want to implement.
    Here is a listing of the JAR files that you would require in your RAS application. Please note that you would require the enterprise jars and the Crystal connection jars.
    - boconfig.jar
    - cecore.jar
    - celib.jar
    - ceplugins.jar
    - cereports.jar
    - certj.jar
    - cesession.jar
    - ceutils.jar
    - cexsd.jar
    - Concurrent.jar
    - corbaidl.jar
    - CRDBJavabeansServer.jar
    - CRDBJavaServer.jar
    - CRDBJavaServerCommon.jar
    - CRDBJDBCServer.jar
    - CRDBXMLExternal.jar
    - CRDBXMLServer.jar
    - crlov.jar
    - crlovexternal.jar
    - crlovmanifest.jar
    - ebus405.jar
    - freessl201.jar
    - icu4j.jar
    - jaxrpc.jar
    - jrcadapter.jar
    - jrcerom.jar
    - jsafe.jar
    - jtools.jar
    - log4j.jar
    - MetafileRenderer.jar
    - pullparser.jar
    - rasapp.jar
    - rascore.jar
    - rpoifs.jar
    - saaj.jar
    - Serialization.jar
    - sslj.jar
    - u211java.jar
    - URIUtil.jar
    - webreporting.jar
    - xbean.jar
    - xercesImpl.jar
    - xml-apis.jar
    Hope this helps you.
    Thanks
    Soni

  • How to use encoded password in ODI SDK

    Dear Experts,
    I found one problem in case of ODI SDK while implementing it in eclipse. As everybody knows we are hardcoding the database credentials, DBA is not interested to share the password easily.If we could implement this in such a way like we are using encoded password for configuring agent then it may be much better for everyone.
    yes of course we can create one file that can contains the credentials but at the end someone can print it in console by reading line by line. Is it possible to develop one algorithm that can ensure to use the password safely (like encoded one).
    Need your valuable suggestion on the same.
    Thanks

    Hi-
    Yes it is possible by the way of KM custamization, You need to modify LKM call sqlldr via jython step to pass the user info and password as variable instead of ODI method. Try this command in your KM step:
    userid=#GLOBAL.user/#GLOBAL.psw
    Hope this will work for you.
    Thanks,
    Saravanan Rajavel

  • Details on how to use the RESTful Web Services SDK

    Hello,
    this sounds really interesting for an important use case we're currently developing. Unfortunately, I am not a skilled developer and would therefore need to know two more things:
    1) in the beginning, it says ''assumes that there are no parameter values that need to be set'. Is this a core restriction or just to keep things simpel for this example? For our specific use case, we would need to at least transmit a report name and an execution date (which is not necessarily always equal to 'today')
    2) can we have the PDF sent to a Netweaver App Server?  Can the target location there be parameterized somehow?
    3) I understzand that there's also the Open Doc interface that could achieve similar features. Could you please elaborate which are the differences in the two approaches, maybe even pros and cons?
    Thanks
    Philipp

    Hi Philipp,
    1) This is just to keep things simple for the example
    2) You would need to first send the PDF to a file system, and then have a separate process to send it to the Netweaver App Server.  There isn't built-in integration to the Netweaver App Server.
    3) Stated simply:
    OpenDocument allows you to reference content via a single URL, best used for embedding content in your web page or application.   Pro:  Simplest Option  Con: Less power than REST API
    The REST API allows you to manipulate report objects in Web Intelligence and do things like set datasource and create report scheduling jobs.  Pro: More Power and Flexibility  Con: Requires knowledge of programming with REST APIs.
    Best Regards,
    Terry

  • How to Use Item - Price (ITM1) with SDK ?

    Hi All,
    I have issued, Please help me.
    I want to create Item like this:
    Item (OITM):
    Item no: 1001
    Item Detail (ITM1):
    Item no : 1001
    Item Type : S
    Price : $200
    Item no : 1001
    Item Type : T
    Price : $220
    Item no : 1001
    Item Type : R
    Price : $400
    Can I create like that ?

    Hi,
    If by item type, you mean price list, than following is the way
            Dim oItem As SAPbobsCOM.Items
            Dim Flag As Integer
            oItem = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
            oItem.ItemCode = "1001"
            oItem.Add()
            For Flag = 0 To oItem.PriceList.Count - 1
                If oItem.PriceList.PriceListName = "S" Then
                    oItem.PriceList.Price = 100
                ElseIf oItem.PriceList.PriceListName = "R" Then
                    oItem.PriceList.Price = 200
                ElseIf oItem.PriceList.PriceListName = "T" Then
                    oItem.PriceList.Price = 300
                End If
            Next
            oItem.Update()

  • Error com.businessobjects.enterprise.fullclient.FullClient

    I work with Desktop Intelligence to create reports. After creating a export my custom reports to Infoview.
    I also use Business Objects integrated with Clarity PPM from CA Technologies.
    My reports run in Infoview and Desktop Intelligence. When I try to open these reports in Clarity this error appears: com.businessobjects.enterprise.fullclient.FullClient.
    Does anyone who also works with Clarity PPM and Desktop Intelligence can help me?
    Thanks a lot,
    Lenyllson de Moura
    Gestão TI - Brasilia/Brazil

    I know this is a really old thread, but I've been looking all over for the solution to my error
    could not load file or assembly businessobjects.enterprise.sdk
    I had copied the businessobjects.enterprise.sdk.dll from my dev machine to the bin directory of the website, but then got other errors about not finding any source lines in file.
    Copied all the netmodule files that go with the dll, and everything works great now!
    Thank you so much!

  • How to extract latest instance of a report using BO Enterprise SDK?

    Using BO Enterprise SDK how to extract latest instance of report from Crystal Enterprise XIR2?. Can anybody help me with explanation or code?
    Thanks in advance.

    Hi,
    Use the following query in the query builder
    SELECT
    SI_NAME, SI_SCHEDULEINFO.SI_STARTTIME
    FROM
    CI_INFOOBJECTS
    WHERE
    SI_RECURRING = 1
    SI_NAME: The recurring report name.
    SI_SCHEDULEINFO.SI_STARTTIME:  The date and time the report is scheduled to run next.
    The query above will return all the recurring reports .
    Regards,
    Prithvi
    Edited by: Raj_10 on Sep 14, 2011 1:54 PM

  • Latest Instance using BO enterprise SDK

    Post Author: sureshpolishetty
    CA Forum: Integrated Solutions
    How to get the lastest instance of a report stored in crystal enterprise server (XIR2) using BO Enterprise sdk?.
    Can anybody help me with the query(using CI_INFOOBJECTS table)?
    Thanks

    Hi
    The following query will list all the last successful instances of a report.
    SELECT * FROM CI_INFOOBJECTS
    WHERE SI_PROGID = 'CrystalEnterprise.Report'
    AND SI_INSTANCE_OBJECT = 1
    AND SI_SCHEDULE_STATUS = 1
    AND SI_PARENTID= 22842
    ORDER BY SI_ENDTIME DESC.
    The last Infoobject from the Infoobjects returned would give the latest instance id (SI_ID).
    Hope this helps.
    Thanks
    Soni

  • Control-M scheduling using SAP BO Enterprise SDK

    How can we use SAP BO Enterprise SDK to implement Control-M Scheduling..?
    Any links to the documentation would be great.
    Thanks

    Check our Developer Library for documentation and samples
    http://www.sdn.sap.com/irj/boc/sdklibrary
    I've also moved your post to the appropriate forum. If you have any specific questions, experts in these forums will be able to help.

Maybe you are looking for