Add to NI_UserCustomPrivileges using API

I've searched in several ways for this information and have been unsuccessful.  Is there a way to add entries to the NI_UserCustomPrivileges container--and save the changes to disk, of course?  I've found many examples of adding and deleting users and changing their privileges, but I haven't been able to find a way to add new privilege variables.
Thanks for your help!
Solved!
Go to Solution.

Hi strimble,
Assume we create two local variables, an array of Object References called "typeFileArray", and a Number called "typeIndex". Then, the following should allow you to create the type of variable you are interested in.
Locals.typeFileArray =
RunState.Engine.GetTypeUsageLocations("NI_UserCustomPrivileges"),
Locals.typeIndex = Locals.typeFileArray[0].AsPropertyObjectFile.TypeUsageList
.GetTypeIndex("NI_UserCustomPrivileges"),
Locals.typeFileArray[0].AsPropertyObjectFile.TypeUsageList
.GetTypeDefinition(Locals.typeIndex).SetValBoolean("HelloJohn", 1, True),
Locals.typeFileArray[0].AsPropertyObjectFile.IncChangeCount(),
Locals.typeFileArray[0].AsPropertyObjectFile.SaveFileIfModified(True)
I hope this helps!
John M
National Instruments
Applications Engineer

Similar Messages

  • Can't add Shared Member using API

    I would like to create a lot of shared members.Using API I do it as following according to documentation: ESS_MBRINFO_T MbrInfo; memset(&MbrInfo, '\0', sizeof(MbrInfo)); strcpy(MbrInfo.szMember, (char*)mbrName); MbrInfo.usShare = ESS_SHARE_SHARE; sts = EssOtlAddMember(getOutline(), &MbrInfo, ESS_NULL, hMbr, &hNewMember); When I try to add shared member, then sts = 1060051.So I have to change names and after correct them manually.Using HAB API I can't add shared member too.Regards,Georgy

    Hi and Welcome to the Forums!
    To really help, you should come and create an account on these forums...there are many unanswered questions from your initial inquiry...come here, create an account, and open a thread so that it all can be resolved:
    http://supportforums.blackberry.com/rim/
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Add Freight Charges using API

    I am using oe_order_pub.process_order API to create orders. I need to add a Freight Charge line. Can I do this using oe_order_pub.process_order, or do I need to use another API?
    Thank you.

    you need to use WSH_FREIGHT_COSTS_PUB.Create_Update_Freight_Costs API to apply frieght costs....

  • How could I ADD ITEM by using API

    Hi,
    I have Portal 9.0.3 installed.
    I want to call wwsbr_api from a javascript code (HTML portlet) to add a text item to a region, but I have some problem using this API:
    1; I don't know how could I get the p_caid, the p_folder_id and the region_id
    I found out that p_caid can be find WWSBR_SITES.ID. Is this correct?
    2; when I've tried to call this API from address line I've got a 404 ERROR (but it might have been casued by the wrong attribute values)
    So I need to know:
    - How could I find out the correct IDs?
    - How could I call wwsbr_api.add_item function from a javascript?
    Thanks for your help!
    THE BOOGIE IS OVER

    WWSBR_API is currently not supported in Portal Release 2 (902). Support for this API will return in the next version (9.0.2.6, planned for early 2003).
    Regards,
    Portal Product Manager

  • [ACS 5.4] Add Internal hosts using API

    Hi,
    I tried Machine authentication after importing MAC Address in internal hosts.
    Is it possible to use ACS API to import those MAC Address?
    I want to develop a specific web interface for support to do this action.    
    Thanks for your help,
    Patrick

    Hi Horst,
    Currently this feature is not there, you cannot use filters based on admin created attrbutes,
    An enhancement is already open:
    CSCui17182 ACS user filtering using custom attribute
    Supposed to be included in 5.5, but it was not, so you can look forward to it on future ACS patch.
    Save this ID on the bug search and you will get a notification.
    **Share your knowledge. It’s a way to achieve immortality.
    --Dalai Lama**
    Please Rate if helpful.
    Regards
    Ed

  • Add Sales Opportunity using DI API

    Hello Friends,
        I am trying to add Sales Opportunity using DI API.I want to set Potential amount using DI API So I set MaxLocalTotal but while compiling code its give error.Its Read only.
    If I add without potential amount than its gives me error  "Potetial Amout is missing"
    What should I do??
    My Code is 
                   SAPbobsCOM.SalesOpportunities vSOpp;
                    vSOpp = (SAPbobsCOM.SalesOpportunities)globals1.oCompany.GetBusinessObject  (SAPbobsCOM.BoObjectTypes.oSalesOpportunities);
                    vSOpp.CardCode = txtBPCode.Text;
                    if( txtCntctPerCode.Value!="")
                    vSOpp.ContactPerson = Convert.ToInt32(txtCntctPerCode.Value);
                    vSOpp.OpportunityName = txtOppName.Text;
                    vSOpp.SalesPerson = Convert.ToInt32(ddlSEmp.SelectedValue);
                   //vSOpp.WeightedSumLC = Convert.ToDouble(txtPotAmt.Text);
                    vSOpp.MaxLocalTotal = Convert.ToDouble(txtPotAmt.Text);       
                   culture = new CultureInfo("en-US", true);
                    currentprovider = CultureInfo.CurrentCulture;
                    dt1 = DateTime.ParseExact(txtSDate.Text, "dd/MM/yyyy", culture);
                    vSOpp.StartDate = dt1;
      if (vSOpp.Add() != 0)
                        //ResultMessage1.ShowFail("Failed to add a Activity");
                        globals1.oCompany.GetLastError(out nErr, out errMsg);
                        if (0 != nErr)
                            ResultMessage1.ShowFail(globals1.oCompany.GetLastErrorDescription());
                            globals1.oCompany.Disconnect();
                            return;
                    else
                        ResultMessage1.ShowSuccess("Activity added Successfully");
    Please help me to solved this problem.
    Thanks & Regards,
        Swati

    Hi folks,
    I'm facing the same problem. This issue concerns DI API of SAP Business One 8.8 (my version is SP 00 PL 11) in particular.
    I've used the 2007 version so far and even though the MaxLocalTotal field in Sales Opportunity object is read-only, by writing the same value in the field with the same name on the last Opportunity Line I obtain the right value in the header.
    In this version of the API, that field seems to be mandatory instead.
    Does anyone have any suggestion? Thank you in advance.

  • Add and remove subform using API

    Hi,
    I have a document which add and remove subsform using javascript. I need to fill out the fields and add or remove subform using the java API. Is it possible?
    Thanks,

    Hi Snehasis,
    Tom is correct, there is no T-SQL command to add a publisher to Replication Monitor.  However, the server from which you launch Replication Monitor will automatically be added to Replication Monitor if it is a Publisher.  Also, you can add additional
    Publishers using the Add Publisher dialog.
    This is covered in
    Add and Remove Publishers from Replication Monitor
    Brandon Williams (blog |
    linkedin)

  • Error while signing a document using API

    Hello. I'm using API functions to add a digital signature to a PDF document. While signing this document, I receive an error which looks like:
    com.adobe.livecycle.signatures.client.types.exceptions.PDFOperationException: ALC-DSS-303-001 Could not sign Signature Field MyField (in the operation : sign)
    Caused By: ALC-DSS-303-014 Subject name and the subject alt name missing. (in the operation : getSignerName)
    My source code is a straight copy/paste from the SDK Help. I can successfully add an unsigned signature field using API call, but I can't sign it. I can also sign my document manually from Adobe Acrobat Professional using the same certificate.
    I'm new in LiveCycle and digital signatures, so it might be some obvious reason that I just can't detect now.
    Could anyone help me, please?

    you can mail me directly to [email protected], and I'll try to help.
    no guarenty :-)
    Tal
    [email protected]

  • Creation of a Request in OIM 11G using API's

    Hi Friends,
    I am trying to create a request using OIM 11g API's.
    I am trying to do this for EBS Responsibility resource and this resource has a request dataset has EBS-IT-Resource-Instance, application name, responsibility name, start date and security group. Please note application name, responsibility name, start date and security group are in child form.
    I am trying to populate the request dataset using the below code.
    List<RequestBeneficiaryEntityAttribute> entityAttrList;
    RequestBeneficiaryEntity entity = null;
    entityAttrList = new ArrayList<RequestBeneficiaryEntityAttribute>();
    entity = new RequestBeneficiaryEntity();
    tcITResourceInstanceOperationsIntf tcITResourceIntf = Platform.getService(tcITResourceInstanceOperationsIntf.class);
    HashMap searchcriteria = new HashMap<String, String>();
    searchcriteria.put("IT Resources.Name", "EBSHF-APPS12");
    tcResultSet resultSet = tcITResourceIntf.findITResourceInstances(searchcriteria);
    long itResourceKey=resultSet.getLongValue("IT Resources.Key");
    entityAttrList.add(this.getAttrLong("eBusiness Suite Instance Name",itResourceKey));
    entityAttrList.add(this.getAttr("Application Name","3~300"));
    entityAttrList.add(this.getAttr("Responsibility Name", "3~300~52281"));
    entityAttrList.add(this.getAttr("Security Group", "3~0"));
    entity.setEntityKey(getResourceKey("Oracle eBusiness Responsibility"));
    entity.setEntityType(RequestConstants.RESOURCE);
    entity.setEntitySubType("Oracle eBusiness Responsibility");
    entity.setEntityData(entityAttrList);
    private RequestBeneficiaryEntityAttribute getAttr(String name, String value)
    RequestBeneficiaryEntityAttribute attr = null;
    attr = new RequestBeneficiaryEntityAttribute(name, value, RequestBeneficiaryEntityAttribute.TYPE.String);
    return attr;
    private RequestBeneficiaryEntityAttribute getAttrLong(String name, long value)
    RequestBeneficiaryEntityAttribute attr = null;
    attr = new RequestBeneficiaryEntityAttribute(name, value, RequestBeneficiaryEntityAttribute.TYPE.Long);
    return attr;
    My code is working fine and a request is getting created. But when I try to open the request dataset(object form) for the newly created request, I am getting null exceptions.
    If I did not populate the fields that are in the child form application name, responsibility name and security group which are highlighted above, then I am able to view the form with the correct IT-Resource-Instance name after request creation.
    So, I am thinking I am doing something wrong while populating child form data in the request dataset.
    Can you please provide me some code snippet to populate the child using 11G API'S?

    Hi Bikash,
    After referring your code, i made changes in mine. Here is my updated code.
    RequestBeneficiaryEntityAttribute parantAttr=null;
    List<RequestBeneficiaryEntityAttribute> entityAttrList;
    RequestBeneficiaryEntity entity = null;
    entity = new RequestBeneficiaryEntity();
    parantAttr=this.getAttrLong("eBusiness Suite Instance Name", itResourceKey);
    RequestBeneficiaryEntityAttribute mid1 = new RequestBeneficiaryEntityAttribute();
    List <RequestBeneficiaryEntityAttribute> childAttributesList = new ArrayList<RequestBeneficiaryEntityAttribute>();
    childAttributesList.add(this.getAttr("Application Name", "3~555"));
    childAttributesList.add(this.getAttr("Responsibility Name", "3~555~22862"));
    childAttributesList.add(this.getAttr("Security Group", "3~0"));
    mid1.setChildAttributes(childAttributesList);
    mid1.setAction(RequestBeneficiaryEntityAttribute.ACTION.Add);
    entityAttrList = new ArrayList<RequestBeneficiaryEntityAttribute>();
    entityAttrList.add(parantAttr);
    entityAttrList.add(mid1);
    But when I try to run this, it is getting failed saying "RequestServiceException: IAM-2050033:Invalid attribute name null. No corresponding reference was found in the data set ProvisionResourceOracle eBusiness Responsibility".
    Here is my request data set for your reference.
    <AttributeReference name="eBusiness Suite Instance Name" attr-ref="eBusiness Suite Instance Name" type="Long" length="50" widget="itresource-lookup" required="true" available-in-bulk="true" itresource-type="eBusiness Suite UM"/>
    <AttributeReference available-in-bulk="true" length="10" widget="text" type="String" attr-ref="UD_EBH_RSCP" name="EBS HR Foundation User Responsibilities">
    <AttributeReference name="Application Name" attr-ref="Application Name" type="String" length="256" widget="lookup-query" available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv, lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.EBS.Application' and lkv_encoded like concat('$Form data.eBusiness Suite Instance Name', '~%')" display-field="Description" save-field="Value"/>
    </AttributeReference>
    <AttributeReference name="Responsibility Name" attr-ref="Responsibility Name" type="String" length="256" widget="lookup-query" available-in-bulk="true" required="true" primary="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.EBS.Responsibility' and lkv_encoded like concat('$Form data.Application Name','~%')" display-field="Description" save-field="Value"/>
    </AttributeReference>
    <AttributeReference name="Security Group" attr-ref="Security Group" type="String" length="256" widget="lookup-query" available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv, lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.EBS.SecurityGroup' and lkv_encoded like concat('$Form data.eBusiness Suite Instance Name', '~%')" display-field="Description" save-field="Value"/>
    </AttributeReference>
    I am not sure why it is not referencing to the attribute. In your blog, it is saying your code is to set process form. But i am trying to create a request using API's. so, I need some code snippet to populate request dataset. Do you think, this will serve both?
    Thanks for your help.

  • Trying to create Organization in OIM 11g R2 using API

    Hi All,
    I am trying to create Organization in OIM 11g R2 using API's. I able to create a organization with attributes Organization Name and Organization Customer Type but when i am trying to add Parent Organization Name it is throwing me the following error
    Caused by: oracle.iam.platform.entitymgr.UnknownAttributeException: Organization : [Parent Organization Name]
    any help in this regard will be helpful....
    Thanks

    Yes i do have the org with act_key 27
    I have done that changes...still it is throwing the same error
    Exception in thread "main" oracle.iam.identity.exception.OrganizationCreateException: IAM-3056148:act_createby is a System Attribute and cannot be set through API.:act_createby
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl_1036_WLStub.createx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy2.createx(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManagerDelegate.create(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy3.create(Unknown Source)
         at oracle.iam.ui.custom.Class1.main(Class1.java:108)
    Caused by: oracle.iam.identity.exception.OrganizationCreateException: IAM-3056148:act_createby is a System Attribute and cannot be set through API.:act_createby
         at oracle.iam.identity.orgmgmt.impl.OrganizationManagerImpl.create(OrganizationManagerImpl.java:318)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy333.create(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManagerEJB.createx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy331.createx(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl.createx(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.iam.platform.kernel.ValidationFailedException: IAM-3056148:act_createby is a System Attribute and cannot be set through API.:act_createby
         at oracle.iam.identity.usermgmt.utils.UserManagerUtils.createValidationFailedException(UserManagerUtils.java:337)
         at oracle.iam.identity.usermgmt.utils.UserManagerUtils.createValidationFailedException(UserManagerUtils.java:372)
         at oracle.iam.identity.utils.Utils.checkAllowedAttributes(Utils.java:2523)
         at oracle.iam.identity.orgmgmt.impl.handlers.create.CreateOrganizationValidationHandler.validate(CreateOrganizationValidationHandler.java:102)
         at oracle.iam.platform.kernel.impl.OrchProcessData.validate(OrchProcessData.java:258)
         at oracle.iam.platform.kernel.impl.OrchProcessData.runValidationEvents(OrchProcessData.java:203)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.validate(OrchestrationEngineImpl.java:699)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:547)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:485)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:403)
         at sun.reflect.GeneratedMethodAccessor1171.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy251.orchestrate(Unknown Source)
         at oracle.iam.identity.orgmgmt.impl.OrganizationManagerImpl.create(OrganizationManagerImpl.java:306)
         ... 46 more

  • Is it possible to add a user using the RESTful Web Services SDK

    Others have asked before about user management features in the RESTful Web Services SDK.  However I can find no answers or links which provide an answer to the question 'Is it possible to add a user using the BI 4.1 SP2 RESTful Web Services SDK'?
    Any help would be appreciated.
    Regards,
    Steve

    Hi Steve
    Unfortunately, not possible. The BI RESTful can only get "stuff" that is already there. I suppose this would fall under some sort of "Object Creation" API and that is not there. Yet. Rumors abound, but nothing firm. Just as a BTW.; the Business Intelligence platform RESTful Web Service Developer Guide 4.1 is here:
    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_bip_rest_ws_en.pdf
    SAP Web Intelligence RESTful web service SDK User Guide, SAP BusinessObjects Business Intelligence platform 4.1
    SAP Crystal Reports RESTful web services - SAP Crystal Reports RESTful web services
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Barcode using api

    Hi,
    I'm trying to solve problem with showing barcodes when generating html or pdf documents using api. I have function in db which generates barcodes 128b with correct start, control and stop chars, I've tested it notepad, using font AdvC128b, printed, scanned and everything is correct. The problem is obviously in word template in which I add field like <?BARCODE?> and set font for the field AdvC128b upload template to bi publisher. Using api I generate html and I do get barcode on page but it's not correct it cannot be scanned, on view source I can see that it creates page like this:
    .c0 {line-height: 27.744pt;margin-top: 0.0pt;margin-bottom: 0.0pt;margin-left: 6.35pt;margin-right: 6.049pt;}
    .c1 {font-family: 'AdvC128b';font-size: 24.0pt;color: #000000;}
    <p class="c0"><span class="c1">Ě90902qÎ </span><a name="page-total-master0" id="page-total-master0"></a><a name="page-total" id="page-total"></a></p>In pdf document I cannot see barcode I can only see Ě90902qÎ Do I need to put some fonts in my java runtime like I did put Albany fonts for special characters?
    This is quite urgent, what are my options? What needs to be done to show correct barcodes in html and pdf documents using api and word templates,
    any suggestions are more than welcome,
    thanks in advance,
    Tomislav.

    this is my config
    <?xml version="1.0" encoding="UTF-8"?>
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/"><!-- Properties -->
    <properties>
    <!-- System level properties    -->
    <property name="system-temp-dir">c:\tmp</property>
    <!-- PDF compression
    <property name="pdf-compression">true</property>     -->
    <!-- PDF Security
    <property name="pdf-security">true</property>
    <property name="pdf-open-password">user</property>
    <property name="pdf-permissions-password">owner</property>
    <property name="pdf-no-printing">true</property>
    <property name="pdf-no-changing-the-document">true</property>     -->
    </properties>
    <!-- Font setting -->
    <fonts>
    <!-- Font setting (for FO to PDF etc...) -->
    <font family="Arial" style="normal" weight="normal">
    <truetype path="/fonts/Arial.ttf"/>
    </font>
    <font family="Default" style="normal" weight="normal">
    <truetype path="/fonts/ALBANWTJ.ttf"/>
    </font>
    <font family="advc128b" style="normal" weight="normal">
    <truetype path="C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf"/>
    </font>
    <!--Font substitute setting (for PDFForm filling etc...) -->
    <font-substitute name="MSGothic">
    <truetype path="/fonts/msgothic.ttc" ttcno="0"/>
    </font-substitute>
    </fonts>
    </config>and this is my complete log, sorry for posting it whole but I think it will be more useful to you:
    [100609_074839647][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [100609_074839648][][STATEMENT] Logger.init(): LogDir=C:/tmp
    [100609_074839891][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [100609_074839892][][STATEMENT] XDO version   = Oracle BI Publisher 10.1.3.4.1
    [100609_074839892][][STATEMENT] java.home     = C:\Program Files\Java\jre1.6.0_06
    [100609_074839892][][STATEMENT] XDO_TOP       = null
    [100609_074839893][][STATEMENT] Config Path   = null
    [100609_074839893][][STATEMENT] Debug Cfg Path= C:\Program Files\Java\jre1.6.0_06\lib\xdodebug.cfg
    [100609_074839893][][STATEMENT] Font dir      = C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\
    [100609_074839894][][STATEMENT] Locale        = en-us
    [100609_074839894][][STATEMENT] Fallback font = truetype./fonts/ALBANWTJ.ttf
    [100609_074839894][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [100609_074839896][][STATEMENT] digit-substitution=null(not set)
    [100609_074839896][][STATEMENT] font.ADVC128B.normal.normal=truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf
    [100609_074839898][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074839899][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTK.ttf
    [100609_074839899][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTS.ttf
    [100609_074839899][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTT.ttf
    [100609_074839900][][STATEMENT] font.ALBANY WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANYWT.ttf
    [100609_074839900][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJB.ttf
    [100609_074839901][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJ.ttf
    [100609_074839901][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOKB.ttf
    [100609_074839901][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOK.ttf
    [100609_074839902][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSCB.ttf
    [100609_074839902][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSC.ttf
    [100609_074839903][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTCB.ttf
    [100609_074839903][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTC.ttf
    [100609_074839903][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOB.ttf
    [100609_074839904][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUO.ttf
    [100609_074839904][][STATEMENT] font.ARIAL.normal.normal=truetype./fonts/Arial.ttf
    [100609_074839904][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074839905][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [100609_074839905][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [100609_074839905][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [100609_074839906][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [100609_074839906][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [100609_074839906][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [100609_074839907][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [100609_074839907][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [100609_074839907][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [100609_074839908][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [100609_074839908][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [100609_074839908][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [100609_074839909][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [100609_074839909][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [100609_074839909][][STATEMENT] font.DEFAULT.normal.normal=truetype./fonts/ALBANWTJ.ttf
    [100609_074839910][][STATEMENT] font.GLFALLBACK.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074839910][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [100609_074839910][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [100609_074839910][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [100609_074839911][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [100609_074839911][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [100609_074839911][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [100609_074839912][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [100609_074839912][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [100609_074839912][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [100609_074839913][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [100609_074839913][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [100609_074839913][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [100609_074839914][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [100609_074839914][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [100609_074839914][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [100609_074839915][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [100609_074839915][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [100609_074839915][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [100609_074839916][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [100609_074839916][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [100609_074839916][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [100609_074839917][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074839917][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [100609_074839917][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [100609_074839918][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [100609_074839918][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [100609_074839918][][STATEMENT] pdf-changes-allowed=0
    [100609_074839919][][STATEMENT] pdf-compression=true
    [100609_074839919][][STATEMENT] pdf-enable-accessibility=true
    [100609_074839920][][STATEMENT] pdf-enable-copying=false
    [100609_074839920][][STATEMENT] pdf-encryption-level=0
    [100609_074839920][][STATEMENT] pdf-font-embedding=true
    [100609_074839920][][STATEMENT] pdf-hide-menubar=false
    [100609_074839921][][STATEMENT] pdf-hide-toolbar=false
    [100609_074839921][][STATEMENT] pdf-no-accff=false
    [100609_074839922][][STATEMENT] pdf-no-cceda=false
    [100609_074839922][][STATEMENT] pdf-no-changing-the-document=false
    [100609_074839923][][STATEMENT] pdf-no-printing=false
    [100609_074839923][][STATEMENT] pdf-open-password=
    [100609_074839923][][STATEMENT] pdf-permissions=0
    [100609_074839924][][STATEMENT] pdf-permissions-password=
    [100609_074839924][][STATEMENT] pdf-printing-allowed=0
    [100609_074839925][][STATEMENT] pdf-replace-smartquotes=true
    [100609_074839925][][STATEMENT] pdf-security=false
    [100609_074839926][][STATEMENT] ------------------------------------------------------
    [100609_074840004][oracle.apps.xdo.template.rtf.field.RTFFieldResult][STATEMENT] stylename=Normal
    [100609_074840030][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open TrueType font: /fonts/ALBANWTJ.ttf(0)
    [100609_074840031][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open Type3 font (SVG embedded): null
    [100609_074840031][][EXCEPTION] Default.normal.normal is invalid. Set it to Helvetica
    [100609_074840033][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf(0)
    [100609_074840034][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf(0)
    [100609_074840041][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [100609_074840047][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840048][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840049][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840052][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840052][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840058][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840059][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840070][oracle.apps.xdo.template.rtf.RTF2XSLParser][STATEMENT] Time spent: 185
    [100609_074840072][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [100609_074840072][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf closed.
    [100609_074840073][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf closed.
    [100609_074840097][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [100609_074840097][][STATEMENT] Logger.init(): LogDir=C:/tmp
    [100609_074840098][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor constructor is called.
    [100609_074840174][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor has been initialized without default config.
    [100609_074840174][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(String) is called with 'C:\Users\RIFnet\Downloads\04_Ispis_prijevoznog_lista.xml'.
    [100609_074840176][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [100609_074840176][][STATEMENT] Logger.init(): LogDir=C:/tmp
    [100609_074840176][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_data_11.xml' is created.
    [100609_074840178][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(String) is called with 'C:\Users\RIFnet\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp.xsl'.
    [100609_074840180][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_data_12.xsl' is created.
    [100609_074840182][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(String)is called with 'C:\Users\RIFnet\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\581254851319596out.pdf'.
    [100609_074840208][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_out3.out' is created.
    [100609_074840209][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setLocale is called with 'en-us'.
    [100609_074840209][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=1.
    [100609_074840210][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setConfig(String) is called with 'C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg'.
    [100609_074840212][oracle.apps.xdo.template.FOProcessor][STATEMENT] Start Memory: max=254MB, total=6MB, free=1MB
    [100609_074840212][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
    [100609_074840216][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
    [100609_074840409][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Oracle XML Developers Kit 10.1.0.5.0 - Production
    [100609_074840410][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
    [100609_074840590][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_fo_14.fo' is created.
    [100609_074840592][][STATEMENT] XSL-T time used: 329
    [100609_074840592][oracle.apps.xdo.template.fo.FOProcessingEngine][STATEMENT] Using proxy for PDF Generator
    [100609_074840598][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
    [100609_074840599][][STATEMENT] Using optimized xslt
    [100609_074840614][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [100609_074840615][][STATEMENT] XDO version   = Oracle BI Publisher 10.1.3.4.1
    [100609_074840615][][STATEMENT] java.home     = C:\Program Files\Java\jre1.6.0_06
    [100609_074840615][][STATEMENT] XDO_TOP       = null
    [100609_074840615][][STATEMENT] Config Path   = null
    [100609_074840616][][STATEMENT] Debug Cfg Path= C:\Program Files\Java\jre1.6.0_06\lib\xdodebug.cfg
    [100609_074840616][][STATEMENT] Font dir      = C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\
    [100609_074840616][][STATEMENT] Locale        = en-us
    [100609_074840616][][STATEMENT] Fallback font = truetype./fonts/ALBANWTJ.ttf
    [100609_074840617][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [100609_074840618][][STATEMENT] digit-substitution=null(not set)
    [100609_074840620][][STATEMENT] font.ADVC128B.normal.normal=truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf
    [100609_074840620][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074840620][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTK.ttf
    [100609_074840621][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTS.ttf
    [100609_074840621][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTT.ttf
    [100609_074840621][][STATEMENT] font.ALBANY WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANYWT.ttf
    [100609_074840622][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJB.ttf
    [100609_074840622][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJ.ttf
    [100609_074840622][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOKB.ttf
    [100609_074840623][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOK.ttf
    [100609_074840623][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSCB.ttf
    [100609_074840623][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSC.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTCB.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTC.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOB.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUO.ttf
    [100609_074840625][][STATEMENT] font.ARIAL.normal.normal=truetype./fonts/Arial.ttf
    [100609_074840625][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074840625][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [100609_074840625][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [100609_074840626][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [100609_074840626][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [100609_074840626][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [100609_074840627][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [100609_074840627][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [100609_074840627][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [100609_074840627][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [100609_074840628][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [100609_074840628][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [100609_074840628][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [100609_074840629][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [100609_074840629][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [100609_074840629][][STATEMENT] font.DEFAULT.normal.normal=truetype./fonts/ALBANWTJ.ttf
    [100609_074840629][][STATEMENT] font.GLFALLBACK.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074840630][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [100609_074840630][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [100609_074840630][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [100609_074840631][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [100609_074840631][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [100609_074840631][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [100609_074840631][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [100609_074840632][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [100609_074840632][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [100609_074840633][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [100609_074840633][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [100609_074840633][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [100609_074840634][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [100609_074840634][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [100609_074840635][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [100609_074840635][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [100609_074840635][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [100609_074840636][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [100609_074840636][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [100609_074840636][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [100609_074840637][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [100609_074840637][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074840637][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [100609_074840638][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [100609_074840638][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [100609_074840639][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [100609_074840639][][STATEMENT] pdf-changes-allowed=0
    [100609_074840639][][STATEMENT] pdf-compression=true
    [100609_074840640][][STATEMENT] pdf-enable-accessibility=true
    [100609_074840640][][STATEMENT] pdf-enable-copying=false
    [100609_074840640][][STATEMENT] pdf-encryption-level=0
    [100609_074840641][][STATEMENT] pdf-font-embedding=true
    [100609_074840641][][STATEMENT] pdf-hide-menubar=false
    [100609_074840642][][STATEMENT] pdf-hide-toolbar=false
    [100609_074840642][][STATEMENT] pdf-no-accff=false
    [100609_074840642][][STATEMENT] pdf-no-cceda=false
    [100609_074840643][][STATEMENT] pdf-no-changing-the-document=false
    [100609_074840643][][STATEMENT] pdf-no-printing=false
    [100609_074840643][][STATEMENT] pdf-open-password=
    [100609_074840643][][STATEMENT] pdf-permissions=0
    [100609_074840644][][STATEMENT] pdf-permissions-password=
    [100609_074840644][][STATEMENT] pdf-printing-allowed=0
    [100609_074840645][][STATEMENT] pdf-replace-smartquotes=true
    [100609_074840645][][STATEMENT] pdf-security=false
    [100609_074840645][][STATEMENT] ------------------------------------------------------
    [100609_074840672][][STATEMENT]  Rendering page [1]
    [100609_074840679][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open TrueType font: /fonts/ALBANWTJ.ttf(0)
    [100609_074840680][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open Type3 font (SVG embedded): null
    [100609_074840680][][EXCEPTION] Default.normal.normal is invalid. Set it to Helvetica
    [100609_074840681][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf(0)
    [100609_074840681][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf(0)
    [100609_074840692][][STATEMENT] Phase2 time used: 42ms
    [100609_074840692][][STATEMENT]  Continue rendering page [1]
    [100609_074840693][][STATEMENT]  Generating page [1]
    [100609_074840703][][STATEMENT] Phase2 time used: 11ms
    [100609_074840704][][STATEMENT] Total time used: 102ms for processing XSL-FO
    [100609_074840719][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf closed.
    [100609_074840719][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf closed.
    [100609_074840720][][STATEMENT] FO+Gen time used: 121 msecs
    [100609_074840720][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [100609_074840721][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [100609_074840723][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=254MB, total=7MB, free=0MB

  • How to get a organization name for a particular user using API's

    Hi alll,
    How to get a organization name for a particular user using API's

    You need to do something like this:
    SearchCriteria criteria = new SearchCriteria("User Login", "XELSYSADM", SearchCriteria.Operator.EQUAL);
                   UserManager usrService = oimClient.getService(UserManager.class);
                   Set<String> retAttrs = new HashSet<String>();
                   retAttrs.add(UserManagerConstants.AttributeName.USER_ORGANIZATION.getId());
                   List<oracle.iam.identity.usermgmt.vo.User> users = usrService.search(criteria, retAttrs, null);
                   System.out.println("ORG KEY :: " + users.get(0).getAttribute("act_key"));

  • Datapump exp and imp using API method

    Good Day All,
    I want to know what is the best way of error handling of datapump export and Import using API. I need to implement in my current project as there lot of limitations and the only way to see the process worked is writing the code with error handling method using exceptions. I have seen some examples on the web but if there are practicle examples or good links with examples that will work sure way, I would like to know and explore. I have never used API method so I am not sure of it.
    Thanks a lot for your time.
    Maggie.

    I wrote the procedure with error handling but it does not out put any information of the statuses while kicking off the expdp process. I have put dbms_output.put_line as per oracle docs example but it doesnt display any messages, just kicks off and created dumpfiles. As a happy path its ok but I need to track if something goes wrong. I even stated set serveroutput on sqlplus. It doesnt even display if job started. Please help me where I made a mistake to display the status . Do I need to modify or add anything. Help!!
    CREATE OR REPLACE PROCEDURE SCHEMAS_EXPORT_TEST AS
    --Using Exception Handling During a Simple Schema Export
    --This Proceedure shows a simple schema export using the Data Pump API.
    --It extends to show how to use exception handling to catch the SUCCESS_WITH_INFO case,
    --and how to use the GET_STATUS procedure to retrieve additional information about errors.
    --If you want to get status up to the current point, but a handle has not yet been obtained,
    --you can use NULL for DBMS_DATAPUMP.GET_STATUS.http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_api.htm
    h1 number; -- Data Pump job handle
    l_handle number;
    ind NUMBER; -- Loop index
    spos NUMBER; -- String starting position
    slen NUMBER; -- String length for output
    percent_done NUMBER; -- Percentage of job complete
    job_state VARCHAR2(30); -- To keep track of job state
    sts ku$_Status; -- The status object returned by get_status
    le ku$_LogEntry; -- For WIP and error messages
    js ku$_JobStatus; -- The job status from get_status
    jd ku$_JobDesc; -- The job description from get_status
    BEGIN
    h1 := dbms_datapump.open (operation => 'EXPORT',job_mode => 'SCHEMA');
    dbms_datapump.add_file (handle => h1,filename => 'SCHEMA_BKP_%U.DMP',directory => 'BKP_SCHEMA_EXPIMP',filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);
    dbms_datapump.add_file (handle => h1,directory => 'BKP_SCHEMA_EXPIMP',filename => 'SCHEMA_BKP_EX.log',filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
    ---- A metadata filter is used to specify the schema that will be exported.
    dbms_datapump.metadata_filter (handle => h1, name => 'SCHEMA_LIST',value => q'|'XXXXXXXXXX'|');
    dbms_datapump.set_parallel( handle => h1, degree => 4);
    -- Start the job. An exception will be returned if something is not set up
    -- properly.One possible exception that will be handled differently is the
    -- success_with_info exception. success_with_info means the job started
    -- successfully, but more information is available through get_status about
    -- conditions around the start_job that the user might want to be aware of.
    begin
    dbms_datapump.start_job (handle => h1);
    dbms_output.put_line('Data Pump job started successfully');
    exception
    when others then
    if sqlcode = dbms_datapump.success_with_info_num
    then
    dbms_output.put_line('Data Pump job started with info available:');
    dbms_datapump.get_status(h1,
    dbms_datapump.ku$_status_job_error,0,
    job_state,sts);
    if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
    then
    le := sts.error;
    if le is not null
    then
    ind := le.FIRST;
    while ind is not null loop
    dbms_output.put_line(le(ind).LogText);
    ind := le.NEXT(ind);
    end loop;
    end if;
    end if;
    else
    raise;
    end if;
    end;
    -- The export job should now be running. In the following loop, we will monitor the job until it completes.
    -- In the meantime, progress information is displayed.
    percent_done := 0;
    job_state := 'UNDEFINED';
    while (job_state != 'COMPLETED') and (job_state != 'STOPPED') loop
    dbms_datapump.get_status(h1,
    dbms_datapump.ku$_status_job_error +
    dbms_datapump.ku$_status_job_status +
    dbms_datapump.ku$_status_wip,-1,job_state,sts);
    js := sts.job_status;
    -- If the percentage done changed, display the new value.
    if js.percent_done != percent_done
    then
    dbms_output.put_line('*** Job percent done = ' ||to_char(js.percent_done));
    percent_done := js.percent_done;
    end if;
    -- Display any work-in-progress (WIP) or error messages that were received for
    -- the job.
    if (bitand(sts.mask,dbms_datapump.ku$_status_wip) != 0)
    then
    le := sts.wip;
    else
    if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
    then
    le := sts.error;
    else
    le := null;
    end if;
    end if;
    if le is not null
    then
    ind := le.FIRST;
    while ind is not null loop
    dbms_output.put_line(le(ind).LogText);
    ind := le.NEXT(ind);
    end loop;
    end if;
    end loop;
    -- Indicate that the job finished and detach from it.
    dbms_output.put_line('Job has completed');
    dbms_output.put_line('Final job state = ' || job_state);
    dbms_datapump.detach (handle => h1);
    -- Any exceptions that propagated to this point will be captured. The
    -- details will be retrieved from get_status and displayed.
    Exception
    when others then
    dbms_output.put_line('Exception in Data Pump job');
    dbms_datapump.get_status(h1,dbms_datapump.ku$_status_job_error,0, job_state,sts);
    if (bitand(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
    then
    le := sts.error;
    if le is not null
    then
    ind := le.FIRST;
    while ind is not null loop
    spos := 1;
    slen := length(le(ind).LogText);
    if slen > 255
    then
    slen := 255;
    end if;
    while slen > 0 loop
    dbms_output.put_line(substr(le(ind).LogText,spos,slen));
    spos := spos + 255;
    slen := length(le(ind).LogText) + 1 - spos;
    end loop;
    ind := le.NEXT(ind);
    end loop;
    end if;
    end if;
    END SCHEMAS_EXPORT_TEST;

  • WebCenter Sites Query Content using API

    Hi all,
    I have created a asset called "TVLContent" and for this asset, I created 2 attributes: "Question" and "Answer".
    I need to create a query search using API, to get any content where "Question" or "Answer" attribute contains "Why".
    I'm using the line code below, for searching, but doesn't work.
    -----Code
    Session ses = SessionFactory.getSession();
    Condition c1 =ConditionFactory.createCondition("Question", OpTypeEnum.LIKE, "%Why%");
    Condition c2 =ConditionFactory.createCondition("Answer", OpTypeEnum.LIKE, "%Why%" );
    Query query = new SimpleQuery( "TVLContent", "FAQs", c1.or(c2) , Arrays.asList("name", "id", "Question", "Answer"));
    query.getProperties().setIsBasicSearch(true);
    AssetDataManager mgr = (AssetDataManager) ses.getManager(AssetDataManager.class.getName());
    List<Long> firstResults = new ArrayList<Long>();
    for(AssetData data : mgr.read(query)) {
    //read data, e.g. data.getAttributeData("Question").getData()
    ------Code
    If I change the query condition to c1 only, the query works fine,
    e.g. Query query = new SimpleQuery( "TVLContent", "FAQs", c1 , Arrays.asList("name", "id", "Question", "Answer"));
    If I change the query condition to c2 only, the query works fine.
    e.g. Query query = new SimpleQuery( "TVLContent", "FAQs", c2 , Arrays.asList("name", "id", "Question", "Answer"));
    But when I create a new condition (c1.or(c2)) doesn't work.
    e.g. Query query = new SimpleQuery( "TVLContent", "FAQs", c1.or(c2) , Arrays.asList("name", "id", "Question", "Answer"));
    How to fix this?
    What's the best way to create this query using API?
    See below the attribute definition:
    Name: Question
    Attribute Type: text
    Attribute Editor: TVLTextArea
    TVLTextArea XML (
    <?XML VERSION="1.0"?>
    <!DOCTYPE PRESENTATIONOBJECT SYSTEM "presentationobject.dtd">
    <PRESENTATIONOBJECT NAME="TEXTAREA">
    <TEXTAREA WRAPSTYLE ="SOFT"></TEXTAREA >
    </PRESENTATIONOBJECT>
    Name: Answer
    Attribute Type: text
    Attribute Editor: TVLCKEditor
    TVLCKEditor XML (
    <?XML VERSION="1.0"?>
    <!DOCTYPE PRESENTATIONOBJECT SYSTEM "presentationobject.dtd">
    <PRESENTATIONOBJECT NAME="TEXTAREA">
    <TEXTAREA WRAPSTYLE ="SOFT"></TEXTAREA >
    </PRESENTATIONOBJECT>
    }

    Hello,
    Can you share the condition which you are trying to pass?
    Try something like this example;
    Condition condition = ConditionFactory.createCondition( <ATTRIBUTE NAME>, OpTypeEnum.EQUALS, <ATTRIBUTE VALUE> );
    List<String> attributes = new ArrayList<String>();
    attributes.add(<ATTRIBUTE NAMES>); // add as many as required
    SortOrder sortOrder = new SortOrder(<Attribute Name to sortby>, <ORDER - Ascending or Descending>);
    Query query = new SimpleQuery( <Asset Type>, null, condition, attributes, Collections.singletonList(sortOrder));
    for( AssetData data : assetDataManager.read( query ) ) {
    // get all the data as mentioned here: http://docs.oracle.com/cd/E29542_01/doc.1111/e29634/asset_api_tutorial.htm#WBCSD2395
    Note: Import correct classes in your template or CSElement.
    Regards,
    Guddu

Maybe you are looking for

  • Hard drive upgrade issue

    hello community, i having a issue adding a third hard drive to my mac pro here is the hard drive i am planning to install but as u can see the sled has too much of a gap to fit in here is the main problem, the hard drive is installed but the sled doe

  • Installation Failed Exit Code 20 0 fatal errors, 0 errors, 0 warnings

    I'm trying to Install Creative Suite 6 Design Standard on my pc. I've tried two or three times after re-starting the computer and closing all open applications as advised by the Installer.  I continue to get an "Installation Failed" window while the

  • I just watched Mail send two messages I did not initiate.

    When I tried to see what on earth they could be, as I was only trying to send one message and had no others waiting, I had no Outbox listed on the left. Under Mailbox -> Go To -> Outbox {command 2}, it was greyed out and wouldn't even let me see what

  • Error in Elements 11 install

    Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 17 error(s), 3 warning(s) WARNING: DW031: Payload:{F6F5021E-0548-43C1-82CC-C5C7A6906585} Camera Profiles Installer 7.0.0.0 has been

  • HH5 won't issue DHCP addresses to new devices

    My HH5 has stopped issuing DHCP addresses to new wifi  devices. It not a problem on laptops etc, as manually entered addresses work but it's a no go for smartphones.  Existing wifi devices continue to work ok. I've reset to factory settings twice wit