Openscript / web document

Hello,
please I have a question :
web:document
what is the web document ?
because I understand the web:window which is the browser, td etc. but I dont know to which object it refers to (the document).
thank you.
Michael

Michael
Please read this link for a better understanding of what a document is:
http://www.w3.org/DOM/
Also here is a list of possible HTML documents:
http://www.w3.org/QA/2002/04/valid-dtd-list.html
Hope this helps
Alex

Similar Messages

  • Calling up a Performance Manger SPC Chart from a WebI document

    Post Author: satwar
    CA Forum: Performance Management and Dashboards
    Please forgive my terminology, as I'm only a superuser of B.O. not a computer trained person.I have put a few years into configuring WebI document reports in InfoView of B.O. XI 2.  Our company is getting into SPC in a big way, hence my attention has turned to Performance Manager.  I was disappointed to learn that I have to create a whole new Universe of objects in Performance Manager in order to conduct SPC analysis on the variables I have been reporting in tables & graphs in WebI documents in InfoView.I can learn to accept that aspect of B.O. but I am a little concerned about my users having to navigate through Performance Manager to view SPC analytics.  My users have put up considerable resistance just navigating to WebI documents in InfoView.Hope seemed to be around the corner when I read about calling up Performance Manager analytics from WebI documents.  Having read the details it seems like these WebI documents are created in the Performance Manager Universe, not in the Infoview WebI documents that I have already developed in InfoView.If anyone can explain and clarify how this feature works, I'd be eternally grateful. 

    Post Author: jezbraker
    CA Forum: Performance Management and Dashboards
    You can Link any documents that are stored as objects in the cmc, regardless of the universe or way in which they were created.openAnalytic.jsp will allow you to open pretty much anything much as does openDocument  int the webi world.Once you create the SPC chart in process analysis youll need to view it in the control chart screen then click save as and save it into one of you folders in the corp repository. When this is done you can quickly get an example of the URI syntax by going to create new document in dashboard manger, selecting interactive metric trends, expanding navigation and legend opions, clicking browse, selecting your newly saved analytic and clicking ok.  This will but a url into the text box which you can copy and paste into your webi doc links - here's an example of the kind of thing... openAnalytic.jsp?DocumentName=MySPCanalytictest&RepositoryType=C&RepositoryName=SPCTest&DocumentExt=afd&DocumentId=AadTAN28x6lMpTxxlAhW09s&mode=full You may need to stick the odd ../../ or /jsp/ etc in front of the url depecing where you plan to call it from of course. You'll find descriptions of parameters etc for openAnalytic in the product docs. cheers,jez.  

  • Extracting SQL statement from a Webi document's data provider using SDK.

    Hi all,
    Is it possible to extract the SQL statement from an existing Webi document's data provider using BO SDK?  I've searched through the class library but haven't found any information on this yet.  If you have done it, could you provide some guidance.  Many thanks.

    I found the following Java code that might be of some help to you. I realize you are using .NET but this might push you down the right path.
    The trick here is to use the Report Engine SDK to get the DataProvider of the DocumentInstance. Then, look at the SQLDataProvider to get your SQLContainer.
    My apologies for the poor formatting. This didn't copy and paste over to the forums very well. I've cleaned up as much as I could.
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.businessobjects.rebean.wi.*" %>
    <%
    boolean loginSuccessful = false;
    IEnterpriseSession oEnterpriseSession = null;
    String username = "username";
    String password = "password";
    String cmsname  = "cms_name";
    String authenticationType = "secEnterprise";
    try
    //Log in. oEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( username, password, cmsname, authenticationType);
    if (oEnterpriseSession == null)
    out.print("<FONT COLOR=RED><B>Unable to login.</B></FONT>");
    else
    {  loginSuccessful = true;
    catch (SDKException sdkEx)
    { out.print("<FONT COLOR=RED><B>ERROR ENCOUNTERED</B><BR>" + sdkEx + "</FONT>");}
    if (loginSuccessful) { IInfoObject oInfoObject = null;
    String docname = "WebI document name";
    //Grab the InfoStore from the httpsession IInfoStore oInfoStore = (IInfoStore) oEnterpriseSession.getService("", "InfoStore");  //Query for the report object in the CMS.  See the Developer Reference guide for more information the query language.   String query = "SELECT TOP 1 * " +        "FROM CI_INFOOBJECTS " +        "WHERE SI_INSTANCE = 0 And SI_Kind = 'Webi' " +        "AND SI_NAME='" + docname + "'";
    IInfoObjects oInfoObjects = (IInfoObjects) oInfoStore.query(query);
    if (oInfoObjects.size() > 0)
    //Retrieve the latest instance of the report  oInfoObject = (IInfoObject) oInfoObjects.get(0);
      // Initialize the Report Engine  ReportEngines oReportEngines = (ReportEngines)
    oEnterpriseSession.getService("ReportEngines"); 
    ReportEngine oReportEngine = (ReportEngine) oReportEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
      // Openning the document  DocumentInstance oDocumentInstance = oReportEngine.openDocument(oInfoObject.getID());   
    DataProvider oDataProvider = null; 
    SQLDataProvider oSQLDataProvider = null; 
    SQLContainer oSQLContainer_root = null; 
    SQLNode oSQLNode = null;
    SQLSelectStatement oSQLSelectStatement = null; 
    String sqlStatement = null;
      out.print("<TABLE BORDER=1>");
    for (int i=0; i<oDocumentInstance.getDataProviders().getCount(); i++)
    oDataProvider = oDocumentInstance.getDataProviders().getItem(i);
      out.print("<TR><TD COLSPAN=2 BGCOLOR=KHAKI>Data Provider Name: " + oDataProvider.getName() + "</TD></TR>");
       if (oDataProvider instanceof SQLDataProvider)
    oSQLDataProvider = (SQLDataProvider) oDataProvider;
        oSQLContainer_root = oSQLDataProvider.getSQLContainer();
        if (oSQLContainer_root != null)
    for (int j=0; j<oSQLContainer_root.getChildCount(); j++)
    oSQLNode = (SQLNode) oSQLContainer_root.getChildAt(j);
          oSQLSelectStatement = (SQLSelectStatement) oSQLNode;             
    sqlStatement = oSQLSelectStatement.getSQL();     
    out.print("<TR><TD>" + (j+1) + "</TD><TD>" + sqlStatement + "</TD></TR>");   
    else
    out.print("<TR><TD COLSPAN=2>Data Provider is not a SQLDataProvider.  SQL Statement can not be retrieved.</TD></TR>");   }  }  out.print("</TABLE>");
      oDocumentInstance.closeDocument(); }
    oEnterpriseSession.logoff();}%>

  • How to add a new filter in an existing web service method (BIWS - WEBI document)

    Hello Experts, we have 7 web service query's connected to a dashboard. Basically it is one WSDL URL and 7 Get Methods...Web service queries are BIWS (via WEBI document instance). There are filters setup for each of these web service methods.
    Recently there was a request to add 2 new fields to the webi document and also the 2 fields need to be included as filters in the 7 methods. I know there is an option to edit the method, but when i edit the method, i cannot find the 2 new fields in list to set as filters.Can anybody help me understand how to add filters to an existiing web service method? I do not want to delete the method and republish the block as web service.
    Any help will be great and points rewarded.
    Thank you
    Ann

    Hi Ann,
    The reason you are not able to see any of the new columns as a option to select in your web service block is because when you have published that block, they were not present. Add these two new objects in your block and publish it again. You will be prompted for duplication content. Select the highlighted block for duplicate and now you can see the new added objects in the filter option. Update and this will overwrite your published block. Please note, web services do appear to behave weirdly when used with dashboards so I request you to please try it in a separate test report first.
    Hope that helps.
    Regards,
    Tanisha

  • Can't open webi documents

    Hi,
    We can't open webi documents on BO XI 3.0. We have the following error message :
    com.businessobjects.wp.om.OMReportElementContainer
    (Error: INF)
    But we can open deski documents through infoview.
    Any ideas ?

    We are seeing this error now and it has happened again after restarting the SIA and Tomcat. We will try rebooting whole server tonight.
    SAP KB 1326991 suggests:
    Cause
    The CMSClusterMembers entry in the registry is not updated.
    Resolution
      WARNING   ***********
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system.
    Use the Registry Editor at your own risk. It is strongly recommended that you make a backup copy of the registry files before you edit the registry. For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
    Make sure that the CMSClusterMembers entry is updated in the registry. Or you can edit it manually.
    The CMSClusterMembers entry can be modified from HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Enterprise\CMSClusterMembers.
    Restart Server Intelligence Agent (SIA).
    Has anyone tried this - what is meant by 'updating' the registry entry? Updating to what?
    thanks
    Keith
    XI 3.1 SP2

  • How to get the filters of Webi document/Report using Java code in XI SDK.

    Hi All,
       I have a requirement where i have to extrcat filters from the Webi Document.using java SDK.
    I am trying to find the class called "filterable"but not able to use in my java code and will get always
    "java.lang.ClassCastException  com.businessobjects.wp.om.OMDocument cannot be cast to com.businessobjects.rebean.wi.Filterable"
    I am using the below java code like
    ReportElement re=document.getStructure()
    FilterContainer flt=((Filterable) re).getFilter()
    I am stuck and need this in uregent.
    Please help.

    Hi Rajeev,
    To retrieve a FilterContainer you will need to traverse the report structure:
    ReportStructure boReportStructure = boDocumentInstance.getStructure();
    ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
    FilterContainer boFilterContainer = null;
    if (boReportContainer.hasFilter()) {
         boFilterContainer = boReportContainer.getFilter();
    } else {
         boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
    Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
    Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
    Hope this helps.
    Regards,
    Dan

  • Inserting pictures in Webi documents

    Hello,
    I would like to paste or to insert a picture in my webi document. This picture can be a company logo or something like that. But the functionality of inserting a URL which goes to a picture is not enough. Is there no other way of inserting a picture in a webi document?

    Good Day!
    Try [THIS|http://www.infosol.com/buildpage.aspx?k=bo_tt78] link and see if it can help (Link courtesy of Arjun(BOB) ).
    Regards!,
    John Vincent

  • WebI document output

    Hi
    I have a question.
    Whenevr a WebI document is refreshed or run manually in InfoView, and saved on the repository, is there a way to get the output file from the server?
    Does  BO save a copy of the file anywhere on server?
    I dont want to schedule the report ans store the output/mail the output. This is a report with prompts and the user needs to change the values each time he/she runs the report and thus cannot be scheduled.
    This has to be on a manual basis.
    Please help. Please let me know if the question is unclear.
    Thanks in advance.

    Thank you Kuldeep for your response.
    But i guess this is not exactly what i am looking for.
    The scenario is, the user needs to inout the values for prompts, which you rightly said can be achieved via refresh on open option.
    Now after this report is saved, there can be 2 options, either just save it to repository(which would save the structure and the last refreshed report output). Or save it to the computer as a local copy(xls or pdf).
    We actually want to use this file as a parameter file for an ETL process and thus dont want it to save to personal computer as a lcoal copy.
    I want to know if the last refreshed report is saved somewhere on the BO server, or if it can be saved to some location? And what format would this report  be in? So that the output file can be taken from server and used as a parameter file for an ETL run.
    Thanks again

  • Cannot open Webi documents from Sharepoint integration portal

    We have installed Sharepoint integration portal integration kit for BO. But when the web part is included into the page to a particular Webi document we are getting the page not found error! The document is not diaplayed.
    Also when we select a report / webi document from the report explorer web part, the opendoument method fails to display any document.
    Are we missing something here. Need some help.
    Thanks
    Edited by: Bhaswar Ghosh on Oct 22, 2008 8:00 PM

    Hi
    Did you receive any error message when you try to open the documents?
    We recommend you start your Internet Explorer in compatibality mode, and follow the advice in the article below:
    http://blogs.technet.com/b/asiasupp/archive/2011/06/13/error-message-quot-your-client-does-not-support-opening-this-list-with-windows-explorer-quot-when-you-try-to-quot-open-with-explorer-quot-on-a-sharepoint-document-library-in-office-365-site.aspx
    In addition here's a thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/3cbe6b22-e307-485b-a1af-1699cdf5ba86/office-2013-applications-are-not-able-to-open-sharepoint-2007
    Thanks,
    Tylor Wang
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here
     

  • Not able to open a webi document in java

    final String CMS = "pundl10492:6400";
              final String userID = "administrator";
              final String password = "";
              final String auth = "secEnterprise";
              IEnterpriseSession enterpriseSession = null;
              try
                   ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
                   System.out.println("Session created : "+ enterpriseSession.toString());
                   if (enterpriseSession != null)
                        IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
                        ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
                        final String query = "SELECT SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_KIND = 'Webi' " +
                                                      "and SI_NAME like '%Least Accessed Documents%'";
                        IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(query);
                        IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        int docId = objInfoObjectWID.getID();
                        System.out.println("docID : "+docId);
                        DocumentInstance doc = reportEngine.openDocument(docId);
                        FileOutputStream l_fos= null;
                        String fileName = "morcom" + "_" + userID+ "."+"xls";
                        l_fos = new FileOutputStream("D:\\_workarea\\MORCOM_POC\\reports\\"+fileName);
                        BinaryView docBinaryView = (BinaryView)doc.getView(OutputFormatType.XLS);
                        byte[] b = docBinaryView.getContent();
                        l_fos.write(b);
                        System.out.println("File created");
              catch(Exception e)
                   e.printStackTrace();
    I am trying to open a document and the code iam using is given above. I am using BO XIR3 and i get
    Exception in thread "main" java.lang.NoClassDefFoundError: com/crystaldecisions/celib/trace/h
         at com.businessobjects.sdk.plugin.desktop.webi.internal.d.<clinit>(Unknown Source)
         at com.businessobjects.sdk.plugin.desktop.webi.internal.WebiFactory.makePlugin(Unknown Source)
         at com.crystaldecisions.sdk.occa.pluginmgr.internal.PluginMgr.getPluginInterface(PluginMgr.java:291)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:409)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:361)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:712)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:566)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:167)
         at BOTest.main(BOTest.java:42)
    error at this line:-
         IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(query);
    Can anyone give a code snippet for opening a webi document in release3. The same code works in release 2.
    Thanks
    Shruti

    You have a "NoClassDefFoundError", so a code snippet won't help.
    XI Release 2 -> XI 3, then jar files have been renamed and object files refactored.
    You've ended up with mixed XI Release 2 and XI 3 jars.  
    Remove your jars and re-add from XI 3.
    Sincerely,
    Ted Ueda

  • Voyager 3.1 link to WebI document

    I appear to have successfully created a link from a Voyager 3.1 element to a WebI doc.
    1. I select the measure and right-click Link -> Set
    2. I choose my WebI report (which contains a prompt label called CPT)
    3. I select CPT in the parameter drop-down in the Link box, and Save
    4. I then right-click the data element and select Link -> <report name>
    5. WebI opens the doc and displays the correct CPT code.
        If I click Refresh, I see the correct CPT code in the prompt value selection
    Here's where the problem begins.
    6. I save and close the Voyager workspace, then open it again
    7. I repeat step 4 above.
    8. WebI opens the doc BUT it says "No data to retrieve in Query 1"
    9. If I click Refresh, I see the [CPT] in the prompt value selection instead of the number
    Anyone run into this? I have to demo in 2 days!
    Thanks

    The passing of parameters is my suspicion as well. However, if you look at step 5 in the original post, you will see that I sucessfully pass the parameter to the WebI document - it opens with correct data. Closing the WebI doc, clicking on another MDE member and Link also results in success.
    It is only when I close the Voyager workspace (saving, of course), then reopen it, that the parameter is now incorrectly passed. What is being passed is the name of the parameter "[CPT]" instead of its value "12345".
    In other words, the partial SQLin the WebI doc in Step 5 reads
      ...WHERE CPT='12345'      - this is correct
    When closing and reopening the Voyager workspace, the passed parameter suddenly results in
    ...WHERE CPT = '[CPT]'    , which now results in failure, as the values of CPT are only integers.

  • Saving webi document from BOXI 3.0 in excel with special character

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

  • Unable to open a Webi document : 'alertDlg' is undefined

    Hi,
    Since few days, I have the following warning "alertDlg is undefined" when I try to open a Webi document.
    The only way to see my document is to see him in modification mode.
    My environnement : Bo Xi 3.1 SP3 + IIS 6.0
    Somebody has already had this probleme?
    Thanks

    Hi,
    For this, if the user is added in admin group the reports will open. Otherwise assign admnistrator privileges to the mentioned Id and check.
    If you don't like to do so try this 'move the report to another folder and then move it back, it works'.
    All the Best
    Madhu....

  • Using @variable('BOLanguage') prompts in webi documents

    Hello,
    I am using @variable('BOLanguage') in the universe to handle multilinguism.
    Unfortunately, when running my webi document, the variable prompts whereas it is a BO variable.
    On top of that, let us suppose, I enter "test" as a value for this variable, when it is evaluated, the variable is evaluated as 'fr' or 'en' but not as 'test' which proves that this variable should not prompt.
    Does anyone have any idea about how to prevent 'BOLanguage' from prompting.
    Thanks in Advanced
    Sylvie

    Oh, ok that's interesting. I went back to find the documentation but couldn't find anything specific to BOLANGUAGE, just to @Variable in the Universe designers guide.
    http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_designer_en.pdf
    It mentions entering -var parameter at the command line when starting BO to get access to other variables, and the syntax to use for @variable. It also mentions language variables like 'Preferred Viewing Locale', but nothing about 'BOLanguage'. Anyway, looks like you have answered your own question.
    Thanks

  • Export to PDF & Print of Webi document with Xcelsius SWF file embedded init

    Hi ,
    I have embedded an Xcelsius model as HTML in a webi document. It works fine in the Infoview. However, when I export to PDF or print the webi document , the Xcelsius flash component does not show up. I just get a box with the HTML code in it.
    Please let me know how to fix this.
    Thanks.

    I agree with kirbot -- Apple includes nice templates that are obviously meant for professional printing in reasonably large quantities. Regardless, there's no good reason I can think of why Pages' PDFs are not truly WYSIWYG in their output. That shadows and other things are not exported as part of the PDF is a really dumb idea on Apple's part.
    Just ran into this issue myself and had to ditch all the drop shadows in my brochure in order for the files to work with my online printer.
    Glenn

Maybe you are looking for