How to rename OBIEE reports programmatically?

Hi,
We have OBIEE webcat of several hundred reports. Recently we have to rename 150 reports according to latest requirement. Instead of doing this manually, is there a way to rename reports programmatically? Is there sample codes I can follow? I'm using OBIEE 10.1.3.4.
Thanks for your help.
Wei

I am not aware of any existing api to do that except webservices api. This one is however flexible enough and well documented
http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31769.pdf
You can code your webservices calls in any language your choice (java,python,any other what you are skilled in) - here is a very basic example in plsql:
declare
  l_envelope      varchar2(32767);
  l_http_request  utl_http.req;
  l_http_response utl_http.resp;
  l_url           varchar2(1000);
  x_envelope      xmltype;
  l_sessionid     varchar2(1000);
  l_src           varchar2(1000);
  l_tgt           varchar2(1000);
begin
  -- Get session id
  l_url      := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=nQSessionService';
  l_envelope := '
<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/1999/XMLSchema"
  xmlns:v5="com.siebel.analytics.web/soap/v5" >
   <soapenv:Header/>
   <soapenv:Body>
      <v5:logon>
         <v5:name>Administrator</v5:name>
         <v5:password>Administrator</v5:password>
      </v5:logon>
   </soapenv:Body>
</soapenv:Envelope>
  l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
  utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
  utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
  utl_http.write_text(l_http_request, l_envelope);
  l_http_response := utl_http.get_response(l_http_request);
  utl_http.read_text(l_http_response, l_envelope);
  utl_http.end_response(l_http_response);
  x_envelope := xmltype(l_envelope);
  select extractvalue(x_envelope,
                       '/soap:Envelope/soap:Body/sawsoap:logonResult/sawsoap:sessionID',
                       'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:sawsoap="com.siebel.analytics.web/soap/v5"')
    into l_sessionid
    from dual;
  -- Based on the obtained session handler
  -- rename requests i.e. move from l_src to l_tgt
  l_src := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Top Ns';
  l_tgt := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Best Ranked';
  l_url      := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=webCatalogService';
  l_envelope := '
<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/1999/XMLSchema"
  xmlns:v5="com.siebel.analytics.web/soap/v5" >
   <soapenv:Header/>
   <soapenv:Body>
      <v5:moveItem>
         <v5:pathSrc>' || l_src || '</v5:pathSrc>
         <v5:pathDest>' || l_tgt || '</v5:pathDest>
         <v5:sessionID>' || l_sessionid || '</v5:sessionID>
      </v5:moveItem>
   </soapenv:Body>
</soapenv:Envelope>
  l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
  utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
  utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
  utl_http.write_text(l_http_request, l_envelope);
  l_http_response := utl_http.get_response(l_http_request);
  utl_http.read_text(l_http_response, l_envelope);
  utl_http.end_response(l_http_response);
end;With similar calls you can rename any items in your catalog, but you should be aware, if original items are referenced somewhere, those references have to be modified accordingly ( so, a lot of xml parsing may be required), of course, before you try to do it programmatically, you should probably backup your catalog.
Best regards
Maxim
http://comsysto.wordpress.com/

Similar Messages

  • How to run OBIEE Reports in Multi-Org Environment?

    How to run OBIEE Reports in Multi-Org Environment of EBS.

    hi Rainer,
    My Forms and Reports Server is in Same System only. Actually i am giving this path
    http://vagee.ail/reports/rwservlet?
    server=rep_vagee_oracle10g_apps_server&report=D:\FP2
    \dealer_reports\oc_dealer.rep&userid=fp2/fp2erp@info
    &destype=cache&desformat=pdf&ODSNO=OC0809/00110&branch=DLR002
    In My AS System Running Successfully. But Client systems Page cannot be display message is displaying.
    but generally i m able to access the reports server using this path
    http://vagee.ail/reports/rwservlet?
    then Reports server page is displaying but
    when i specify that report server name
    http://vagee.ail/reports/rwservlet?server=rep_vagee_oracle10g_apps_server
    page cannot be displayed.
    what will be the problem. please help me. thank you.
    Regards,
    Kalyan.

  • How to get analytics reports programmatically in SharePoint 2013?

    In SharePoint 2010 it was possible to obtain data from web analytics programmatically using Microsoft.Office.Server.WebAnalytics.Reporting.AnalyticsReportFunction class.
    How can you get search reports programmatically in SharePoint 2013? Are there new assemblies or classes that can be used to obtain them?
    In my scenario, i am mostly interested in the most searched terms at web application or service application level. 
    In SharePoint 2013 the Web Analytics Service Application was merged into the Search Service Application. It seems now that the old assemblies used for this (Microsoft.Office.Server.WebAnalytics.dll
    and Microsoft.Office.Server.WebAnalytics.UI.dll) are not available any more.
    They are available in the user interface as Excel reports, in CA->Application Management->Manage Service Applications->Search Service Application->Usage Reports , but I am interested to obtain these reports programmatically.
    Is this scenario still supported in SP 2013?

    try this 
    using (SPSite site = new SPSite(MainBUPageUrl))//open root
                            using (SPWeb web = site.OpenWeb())
                                AnalyticsReportFunction AnalyticReport = new AnalyticsReportFunction(); //create object of analyticsReport
                                Thread.CurrentPrincipal = new WindowsPrincipal(WindowsIdentity.GetCurrent());//this is used only
    in timer job if not used then GetWebAnalyticsReportData will not work
                                object[,] result = null;
                                    web.AllowUnsafeUpdates = true;
                                   result = AnalyticReport.GetWebAnalyticsReportData(SiteCollurl, "2", ReportType.TopDestinationForSiteReport.ToString(),
    DateTime.Today.AddDays(-3.0), DateTime.Today); //this gives top visitor for provided site collection by providing time duration(start and end date),report type and url
                                    SPList list = web.Lists.TryGetList("AppreciationsList");//list
                                    for (int counter = 0; counter < 10; counter++) //show top ten pages
                                        Item = list.AddItem();
                                        s_count = result[rcount, 1].ToString(); //code
    to get top vistor usage count
                                        Username = result[rcount++, 0].ToString();//get
    top vistor name
                                        user = null;
                                        try
                                            user = web.EnsureUser(Username);//check
    user available?
                                        catch (Exception)
                                            counter--;
                                            continue;
                                        IfExist = checkUserExistence(user);//call the
    function   // IfExist = false; //this flag is used to check existence of user in insightMember group
                                        if (IfExist == true)//if user is not in the insight2
    group member list
                                            Item["Appreciated Person"]
    = user; 
                                            Item["Title"] = s_count;
                                            Item.Update();
                                        else //if user is in the insight2 group member
    list
                                            counter--;
                                            continue;
                                  web.AllowUnsafeUpdates = false;

  • How to make OBIEE reports available during the DB tables data refresh?

    Experts,
    We have our production ETL run for 2.5 days every month. OBIEE reports will not be available during the run. We have a requirement to make the reports available all 24 hrs 365 days. So, what we are trying is to copy all the fact/Dim tables to the new schema running in the same or different DB server and amend the connection pool to point this schema during the run. Here are my questions. Is this a workabale solution (or) is there better approach for meeting our requirement
    Regards,
    Sarvan

    I would suggest this option:
    Store the following connection pool values in a table and call them in your connection pool using Connection Pool Scripts
    Data Source Name
    User ID
    Pwd
    when ever you want to change db just you need to edit these values that would help your bi with no downtime.
    You might have to tweak it little bit if needed.
    More or less we have use sometime back to a client where they want to switch dbs dev to test to etc
    Try it out.
    BTW: 2.5 days load time for Full load or Incr?
    Edited by: Srini VEERAVALLI on Feb 1, 2013 8:40 AM

  • How to rename a report instance?

    Hi all,
    I need to rename the report instance created on a Business Obejcts, the names would be dynamically given basicaly an identifier added to the .RPT file name so that non technical persons can recognize the instances.
    Report file is created from Crystal report XI and server is BO XIR2.
    are there any API calls for it? any SDK I could employ.
    I am new to this, I am looking to find a solution for it myself as well, but would appreciate if any help comes my way...
    Regards,
    Dubes...

    Hi all,
    I need to rename the report instance created on a Business Obejcts, the names would be dynamically given basicaly an identifier added to the .RPT file name so that non technical persons can recognize the instances.
    Report file is created from Crystal report XI and server is BO XIR2.
    are there any API calls for it? any SDK I could employ.
    I am new to this, I am looking to find a solution for it myself as well, but would appreciate if any help comes my way...
    Regards,
    Dubes...

  • How to access OBIEE report in J2EE application?

    Hi All,
    I need to integrate OBIEE with my J2ee application. The scenario is something like
    i need to access the reports(that were created by BI Answers) via my j2ee application. I will provide a simple screen and the user will enter a value and i need to pass the value to OBIEE .Then it will filter out the data based on that value and shows to the user.
    I have tried it by using GO URL and i am able to access the OBIEE environment but when i tried to pass the value it doesn't navigate.Even i am not able to search a particular report.
    How could i proceed? Should i use some variable to store the data that is passed for search in OBIEE?
    Pls help me t solve out this. Any idea is highly appreciated.
    Thanks
    Ashok

    STEP 1: Like any other add-on project, refer SBO UI and DI COM to your project. Initialize SBO APPLICATION object and SBO COMPANY object and listen to events. (This is standard add-on project steps)
    STEP 2: Add a Dataset to the project. This is used as a data source to your Crystal Reports. (For more information on this search for Push Technique Crystal Reports)
    STEP 3: Add a Windows Form to your Project.
    STEP 4: Add a Crystal Report Control to it.
    STEP 5: Design report based on dataset added above.
    STEP 6: Launch this Form with required parameters and selection criteria when any even happens.
    Remember there is lot stuff available on net if you search with PUSH TECHNIQUE CRYSTAL REPORT. SAP SDN has lot answers for adding Crystal Reports integration to SAP Business One Add-On.
    HTH
    B Ravi Shankar

  • How to rename Document Set programmatically

    Hi guys,
    I'm trying to create a Document Set item programmatically with unique name by adding ID to its name:
    SPList list = SPContext.Current.List;
    SPFolder parentFolder = list.RootFolder;
    string dsname = Purpose_TextBox.Text;
    Hashtable properties = new Hashtable();
    properties.Add("DocumentSetDescription", "New Document Set");
    SPContentType docsetCT = list.ContentTypes["RequestPayCT"];
    DocumentSet docSet = DocumentSet.Create(parentFolder, dsname, docsetCT.Id.Parent, properties, false);
    DocumentSet ds = DocumentSet.GetDocumentSet(list.GetItemById(docSet.Item.ID).Folder);
    ds.Item.Name = ds.Item.Name + ds.Item.ID.ToString();
    The problem is that I cannot update Document Set name.
    What do I miss?

    Please check the below article
    http://sharepoint.stackexchange.com/questions/14661/rename-document-set-through-code
    set.Item[SPBuiltInFieldId.Title] = newDsName;
    set.Item.Update(); //or SystemUpdate(false)

  • How to enable OBIEE in ADF pages

    Does anyone know how to embed OBIEE reports into ADF pages?

    oh.. its 10g.. okay.
    In this case NQS authentication will override the LDAP authentication. Do not go for rpd users this can be taken care using init blocks as below.
    When using LDAP we can set the loglevel using Init blocks(see below). this can be set runtime using Set varaible from Answers->Advanced tab.
    You Init block suppose to be like
    case when :user in ('a','b') then 2 ELSE 0 END
    set to LOGLEVEL variable
    Pls mark correct/helpful

  • No of OOTB OBIEE Reports in HR Analytics in OBIA

    Hi All,
    Would it be possible to let me know as to how many OOTB OBIEE Reports are there for HR Analytics in OBIA. An Approximate figure would also help.
    Regards,
    Cp
    Edited by: 950459 on Mar 7, 2013 10:32 PM
    Edited by: 950459 on Mar 7, 2013 10:32 PM

    OBIA 7.9.6.3
    HR Analytics
    • No. of dashboards 9
    • No. of dashboard pages 47
    • No. of reports 238
    • No. of metrics 325
    Reference:
    Where To Find The Product Guides For OBIApps 7.9.6.3 That List The OOB Dashboards, Reports And Subject Areas [ID 1426983.1]
    Please mark if help.
    Regards
    Naeem Akhtar

  • Rename the report server

    hi,
    i have installed ias 10.1.2.02 on windows xp,
    how to rename the report server

    This should do it. Please make a copy of each file prior editing ...
    1) In order to change the name of the reportsserver in Application Server Control Page :
    Edit : $ORACLE_HOME/sysman/emd/targets.xml
    Search the Reports Server Section, change parameter : DISPLAY_NAME, Server, IASInternalName
    2) Edit : $ORACLE_HOME/reports/conf/rwservlet.properties
    Change : SERVER=yourreportservername
    3) Edit : $ORACLE_HOME/reports/config/reportsConfig.properties
    Change : Reportserver Name

  • Oracle Obiee - Send Obiee reports to multiple recipients

    Hello All,
    Can anyone tell me how to send Obiee reports to multiple recipients?
    I have used the ibot of Oracle Obiee. And ibot is working fine for the Creator of the ibot but it is not able to send reports to other recipients.
    When i get mail from Oracle Delivers the To section is empty and bcc section contains the creator of the ibot.
    Please help me on this.
    Thanks & Regards,
    Jiten
    Edited by: Dr.Jiten Patel on Aug 16, 2012 5:14 AM
    Edited by: Dr.Jiten Patel on Aug 16, 2012 5:15 AM

    Again, this is the Application Express forum, not the OBIEE forum.

  • How to increas the width of the Table in OBIEE Report

    Hi ,
    I am creating a OBIEE report, the report has table and 30 column in it. When I am viewing the report in an excel file , its appearing good but the width of the table is so small if I am viewing the same in internet explorer/PDF .I dont know how to increase the width of the table. Could you please sort this issue out.
    Thanks
    Govindan P

    - you can increase the width of a column -> column format values -> Additional Formatting Options
    increase the width:
    - Report level:
    result tab -> Click on Format container of Table -> Additional Formatting Options
    u can assign value width : 500 height:.....
    - dashboard level:
    Edit options -> section -> Format section -> Additional Formatting Options
    here also u can change the width
    u can assign value width : 500 height:.....
    pls mark it helps....
    Edited by: 979481 on Feb 6, 2013 1:25 AM

  • How to call an OBIEE report from EBS

    Hi,
    I'm trying to call an OBIEE report from an EBS menu.
    I have setup the following form function calling SSWA jsp type function
    Web HTML
    OracleOasis.jsp?mode=OBIEE&function=Go&Path=/shared/APA%20Real%20Time/AR/AR02%20Revenue%20by%20Account%20Report&Action=Prompt
    When I click the menu item OBIEE returns the following;
    No Columns
    The request cannot be performed because it contains no columns.
    Can anyone please enlighten me on how to do this correctly
    Thanks
    Phil
    Edited by: user462334 on 28/07/2010 21:50

    Hi Phil,
    I did some further investigation. The syntax to your Oracle BI Answers should be as follows;
    OracleOasis.jsp?mode=OBIEE&function=Go&parameters=Path~/shared/APA%20Real%20Time/AR/AR02%20Revenue%20by%20Account%20Report
    Check the following for more details;
    http://obibb.wordpress.com/2010/08/05/integrating-oracle-ebs-and-oracle-bi-ee-links/
    Cheers
    Daan Bakboord
    http://obibb.wordpress.com/

  • How to retrieve data from xml file into obiee reports

    Hi all,
    I've got a situation here. A xml file is stored as blob in oracle database table. Now i need to retrieve data/info from that xml file into obiee reports. How am i supposed to proceed with this ?

    I will go for a table function:
    http://gerardnico.com/wiki/database/oracle/table_function
    In two words, you can create a function that behave as a table. Then you create a function to pick up your xml, you parse it and you send back the rows.
    I know that Oracle has also a library for XML files but I never use it until now.
    Success
    Nico

  • How to place one column under another column in obiee report?

    Hi all,
    I am new to obiee, so need some help from obiee experts. Can anyone tell me how to place one column data under another column in obiee report?
    i need the report to be as below
    category total_students Course_enrollment Test_attended pass_test
    total N % N % N %
    all students ##### ## ## ## ## ## ##
    Ethnicity
    Asian ###### ## ## ## ## ## ##
    African American ###### ## ## ## ## ## ##
    white ######
    Filipino ######
    Gender
    Male ##### ## ## ## ## ## ##
    Female ##### ## ## ## ## ## ##
    and similarly for other columns
    where ethnicity, gender are columns in the table and Course_enrollment, Test_attended, pass_test are calculated columns.
    Please help me to create a report as above if anyone knows how to do it.
    Edited by: Shailaja on Jul 19, 2010 12:23 AM

    Two ideas I can think of:
    1) Create multiple pivot tables and then display them one under the other
    2) Create multiple measure columns such as "male_amt", "female_amt", "white_amt", "asian_amt", "black_amt", etc. for all the columns you need. Then you could simple stack them in a single pivot table.
    Option #2 might give you the prettiest results - but also requires a lot more maintenance (for instance, if you reclassify ethnic groups, you'd have to go through the reports to add additional metric columns).
    Hope this helps,
    Scott

Maybe you are looking for

  • 500 Internal server error in web template  for specific users

    Hi We have issue with Web templates for some of the users giving error  "500 internal Server Error", all other users able to run the same report. We have authorization for the user and following variable which will give target currency selection in v

  • Can I Bind a Front Panel LED to a specific element in an array of booleans?

    In LabVIEW 2010 I have a string of LEDs. I have and array of boolean values that contain the values that the LEDs should indicate. What is the best way to connect the LEDs to elements in the array of booleans? Can I Bind a Front Panel LED to a specif

  • KE0C133 : Characteristic value does not exist  for charact KMVTNR

    Hi Gurus, In my system i have the field CO-PA  KMVTNR, assigned to KNVP - LIFNR. When i try to create a shipment cost, i get the error: "The characteristic KMVTNR (Sales employe) should be posted to Profitability  Analysis (CO-PA). When the system ch

  • How to trigger GP email template

    Hi, I have created 2 Callable Objects(Requester and Approver)and using those two have created a GP process. Now i need to trigger a GP email template so that when requester clicks on Submit button and the request is with Approver, mail ( which is wri

  • Header is displayed more than once

    I have several records that I can display as a table just for checking out. It has several types of records. I can delete this from the template in the future. Now, I´d like to create a section for record type X. I do have a logic like: for-each reco