Locale setting on a scheduled object

Hi,
I'm looking for how to force locale settings on a scheduled object.
The situation is the report I'm using uses 'Data Date' and it retrieves the system default values.
I'm using the following and I can set locale on the session and 'Data Date' retrieves value based on the locale info and everything is fine. If I schedule the object the 'Data Date' value retrieved is english and not the value based on the locale value.
URL boConURL = new URL("http://boserver:port/dswsbobje/services/session");
com.businessobjects.dsws.Connection boConnection = new Connection(boConURL);
EnterpriseCredential boCredential = new EnterpriseCredential();
boCredential.setLogin("User");
boCredential.setPassword("password");
boCredential.setLocale("Locale");
Session boSession = new Session(boConnection);
Thanks,

If I schedule the object the 'Data Date' value retrieved is english and not the value based on the locale value.
Since the issue you are having occurs when scheduling, one possibility is that the Job Server is not picking up the difference in the locale.  This of course is just a theory since it could be due to other factors as well, however you may be able to eliminate the Job Server as the problem if you try to schedule the report in InfoView and see if you get the same behavior; if you do get the same behavior, then the Job Server is not using the correct locale, if you do NOT get the same behavior, the problem will be something different.
When you do get the correct locale, are you viewing the report in the report viewer?

Similar Messages

  • How to ignore browser 's local setting ?

    I use ADF to implement JSP Application ?
    I am in Thailand .
    Thai year = english year + 543 .
    ADF display date according to locale that is set in browser .
    I want to ignore locale setting in browser and always use Locale.ENGLISH
    What should I do ?
    and another question ?
    if I customize ADF to display in THAI year by customize setter and getter method in EntityImpl . Can I know what is locale that is set in client 's browser in those setter and getter method , because ADF dose not pass request object to EntityImpl ?
    thanks in advance

    You can change ADF Model tier in the application Module :
    getSession().setLocale(Locale.ENGLISH);
    The default value of the locale is the JVM Locale
    Don't code view problematic in EntityImpl. Entity are only for binding ViewObject attributes and persistence tier. you can code it in viewRow classes (you can generate it checking ¨the check box in the java menu editing the viewObject.
    Regards
    Rafael.
    rrimbert

  • How to set Full Crawl Schedule as None via Powershell command

    How to set Full Crawl Schedule as None via Powershell command

    $ssa = "Search Service Application"
    $contentSource = Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $ssa -Identity "Local SharePoint Sites"
    $contentSource.IncrementalCrawlSchedule = $null
    $contentSource.FullCrawlSchedule = $null
    $contentSource.Update()
    Basically you set Schedule to Null.
    Amit

  • Expdp Scheduler objects Open mode Redo logs

    Hi,
    i) What are the advanced options of expdp that permit exporting database scheduler objects and prevent exp from exporting database scheduler objects?
    ii)If the database has to be in Open mode, does RESTRICTED or NON-RESTRICTED mode have any significance here?
    AskTom says that DBMS_SCHEDULER commits when scheduling a job. Hence I guess redo logs are generated each time a job is scheduled using DBMS_SCHEDULER. Hence I guess export cannot be done in read-only mode.
    Many thanks

    Hi,
    Here is the scenario mentioned by my DBA. We are using Oracle 10g R2. Maybe we will upgrade to Oracle 11g. My implementation in Oracle 10g is based on DBMS_SCHEDULER.
    i)Are you always using Data Pump Utility for Export? Kindly provide me the exact command or statement used if you are executing from command-line. Do you specify EXCLUDE parameter if you want to exclude any of the tables or objects? Do you use MetaData filters available in Data Pump?
    ii)Regarding the database mode during export or backup, do you use read-only mode or open mode restricted or quiesced mode?
    iii)Kindly specify the exact error message displayed during export.
    iv)Based on the database mode used and the error displayed, is it related to redo logs or changes in tables during export using expdp?
    i)Expdp parfile=expdp_xx.par
    Where expdp_xx.par contains
    Directory=directory_name
    Dumpfile=expdp_xx.dmp
    Logfile=expdp_xx.log
    Schemas=SCHEMA_NAME
    parallel=4 <- we tried with or without this parameter as well.
    ii) Database is running in regular open mode (open for business for all users) while we are running the exp or expdp process.
    iii). No error displayed. It just keep running with no end in site.
    iv). No.. Oracle tracing saw a repeated sql running on the a table created by expdp process for RULE/RULE SET Objects.
    Kindly suggest the steps required to handle the creation of RULE/RULE SET Objects during expdp process. These RULE/RULE SET Objects are created during the creation of CHAIN_RULE objects. My implementation is verifying multi-threading in DBMS_SCHEDULER. We want to check the basic functionalities provided by DBMS_SCHEDULER first. Hence EVENT_CONDITION and QUEUE_SPEC are ruled out. Instead of EVENT_CONDITION, we are using condition attribute of DEFINE_CHAIN_STEP. So jobs are created every second verifying whether the condition attribute of DEFINE_CHAIN_STEP is satisfied. The jobs create chains and hence rules and rule set objects are created.
    Given the above scenario, kindly indicate to me how to complete expdp process and how to avoid the RULE/RULE SET Objects creation hampering the expdp process.

  • Calendar Invitation - Only one organizer allowed in scheduling object resource

    Hello everybody,
    Server is Mac OS 10.8.5 with Server.app 2.2.2
    One User is creating an event and is inviting other colleagues and is setting the Place to "xyz".
    When the users are getting the invitation in iCal a error message "CalDAVWriteEntityQueueableOperation" is coming up, with "ignoring", "back to server" etc ...
    When having a look at the Client Error log this shows up:
    07.11.13 10:06:32,219 CalendarAgent[197]: [com.apple.calendar.store.log.caldav.queue] [Operation [<CalDAVWriteEntityQueueableOperation: 0x7fe7194dd450; Sequence: 1522>] was forbidden, server reason: [[<CoreDAVErrorItem: 0x7fe7190e20e0>]: DAV:error]
    <?xml version="1.0" encoding="UTF-8"?>
    <A:error xmlns:A="DAV:">
    <B:single-organizer xmlns:B="urn:ietf:params:xml:ns:caldav"/>
    <F:error-description xmlns:F="http://twistedmatrix.com/xml_namespace/dav/">Only one organizer allowed in scheduling object resource</F:error-description>
    </A:error>
    Someone an idea why it says "Only one organizer allowed in scheduling object resource" ? The place for the meeting isn't a resource that's created in the Server.app, instead it's a free word.
    The attendees shouldn't get that error about a resource or am I missunderstand something?

    Hi Sascha,
    From your description, I would like to verify if you grant users some permissions (such as Editor, Owner) some days or weeks ago when they can directly book resource meeting in OWA. If yes, please check whether these permissions are there after Exchange
    upgrading.
    I have some tests in my environment using Exchange 2010 with Outlook 2010. If I don't grant amy01 any permission to room mailbox's calendar, I can book resource meeting directly on Outlook but not in OWA.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Using a Variable in SSIS - Error - "Command text was not set for the command object.".

    Hi All,
    I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table  I have created variables v_Archivequery
    String packageLevel (to store the query).
    <Variable Name="V_Archivequery" DataType="String">
         SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
         FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
         ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
         Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
        </Variable>
    I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
    FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
     ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
    Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
    Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
    But when I am generating the package and when running I am getting bewlo errror
     Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E0C  Description: "Command text was not set for the command object.".
    Can Someone guide me whr am going wrong?
    Please let me know where am going wrong?
    Thanks in advance.
    Thankx & regards, Vipin jha MCP

    What happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
    Could you try set the Delay Validation = True at Package and re-run ?
    If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
    -Vaibhav Chaudhari

  • SSAS Tabular - Adding Column to a table gives error "Object reference not set to instance of object"

    If I make changes to a table in SSAS Tabular Visual Studio, the newly added column gives error as "Object
    reference not set to instance of object"

    Hi VikasJain13,
    According to your description, you get the "Object reference not set to instance of object" error when adding columns in Tabular. Right?
    Generally, it throws this error when the internal code is accessing the property of an empty object. As you mentioned it happens when you make changes on a table, mostly it means that table is already a empty object. Please re-process your tabular to see
    if this table is still existing. 
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • How to download and Install bos.loc.utf.EN_US Package for the Oracle BI locale setting english-usa language in Windows 7 64bit

    OBIEE 11G Installation error during configuration steps with message "Distributing Repository" failed.
    I searched lot of forums but all they say, install bos.loc.utf.EN_US Package for the Oracle BI locale setting english-usa language. From where we can download this package.
    Thanks in advance.

    But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
    Since from the picture you can see its including the support installers from '\Program Files (x86)\'
    The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
    I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
    Yes I did reboot every time after I ran the installation.
    Still getting the same error.

  • How do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?

    how do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?

    if you see all the different panel. I past the info in and have to manually expand the width of every panel. Is there a way of pasting the text in and the panel moves to the right with so that there is an even space on both sides of the blue panel?

  • What is the use of setting null values to Objects?

    What is the use of setting null values to Objects?
    regards,
    namanc

    It's more of a safety trap within java to handle the "programmers are still humans" exception.
    String myname;
    // print what???? Forgot to initialize the name!
    System.out.println(myname);Java will complain about myname not being initialized. It won't when you do this:
    String myname = null;
    // allright, your name is null
    System.out.println(myname);In the second case you are showing to java that you know what you are doing.

  • DateFormat is not sensitive to Windows locale setting

    Hi all,
    The DateFormat is not sensitive to Windows locale setting, that's why this piece doesn't work correclty.
    This bugs is already know (#4514389)
    SimpleDateFormat dateFormat;
    dateFormat=((SimpleDateFormat)DateFormat.getDateInstance(DateFormat.SHORT));
    Anybody knows a workaround ?
    Many thanks

    Hi,
    In fact this workaround is uncorrect because I try to get the date pattern define in the operating system.
    Usually this operating system used is NT4 or Windows 2000.
    When you execute the previous sample code the result is always the same with different date pattern define in the Operating System.
    This bug is very tricky, I can't say if this bug is really a Java bug or a Windows bug ...
    Many thanks for your help
    Nicolas

  • Truss: cannot trace set-id or unradable object file: file

    Good afternoon,
    As a tool from my company is running very slowly, I wanted to know where something is going wrong. In order to determine this, I have decided to "truss" the tool:
    Prompt>truss <tool>Unfortunately I get error message:
    truss: cannot trace set-id or unradable object file: <file>Can something be done about this?
    Thanks

    Run truss as root, or remove the setuid/setgid bit from the binary.

  • [svn:fx-trunk] 11655: Added logic to allow getStyle to return locally set style values early on  (before the instance has been added to DOM).

    Revision: 11655
    Author:   [email protected]
    Date:     2009-11-11 08:27:42 -0800 (Wed, 11 Nov 2009)
    Log Message:
    Added logic to allow getStyle to return locally set style values early on (before the instance has been added to DOM).
    QE notes:  None
    Doc notes:  None
    Bugs: SDK-22198
    Reviewer: Glenn
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22198
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

    Please can u answer it fast

  • Error setting OracleParameter.DbType to Object

    I am calling an oracle function that returns a ref cursor. If I set the OracleDbType of the Oracle paramter to ref cursor all goes well. However I need to call the paramter object from it the IDataParameter interface. This will only allow me to set the DBType, and the closest match to the ref cursor is the Object type (This is what the Oracle parameter sets this to if the OracleDbType is set to ref cursor). When I try to set the DBType to Object I receive an error. Any help on this would be much appreciated.

    Hi Neeraj
    It does look like I asked the right question to the wrong people. I thing Microsoft should be encouraged to extend the DbType enumeration to include a generic ref cursor or recordset. Oracle seems to be doing better than Microsoft in this domain as MS SQL driver does not have any data type that maps to a cursor.
    Many thanks for your help

  • Create report in CR listing scheduled objects in CRS11

    Post Author: jsr
    CA Forum: Administration
    I would like to create a report in Crystal Reports of all the scheduled objects in Crystal Reports Server 11, listing their scheduled time, days, destinations, etc (info in CMC).
    I have connected to the BOE11 database via ODBC in CR, but the tables don't seem to have the scheduling data. Please let me know how I can accomplish this.
    Thanks,
    jsr

    Post Author: fiddelm3742
    CA Forum: Administration
    I hate to be the bearer of bad news but I dont think that you can do that.  Maybe it's possible, but I couldn't find a way to do it in CRXI.  What I ended up doing was using the query builder to write queries to report back on that data.  In the end after figuring out what data I needed I incorporated those queries into a .net application (asp.net page) and had it run the queries and return the results. 

Maybe you are looking for