Problem about Reporting Model-layer Warnings to JSF

hi,
I have read not document article "Reporting Model-layer Warnings and Informational Messages to JSF [10.1.3.1]" the address is :http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#101
and do it as it described,when I call it from concrete entity,it works very well,but when I put it in my base class,It can only displayed within bc tester,not a jsf page?what's the matter with it,how can i solve the problem?
thank you advance
lixinzhu
2007/09/17

Hi,
Thanks for your quickly reply.I debuged my code in the two mode,first I run my application in the business component browser ,all warning are displayed as I desired .(both in base entity clase SXEntityImpl and concrete entity class applicationUserImpl)but when I run my jsf page (which include the same view object),only warning added in my concrete entity(appicationUserImpl.java) displayed on the screen.
lixinzhu
2007/09/27

Similar Messages

  • Reporting model-layer warnings during renderModel (Steve #101 examaple)

    Hi!
    Everyone (almost ;) knows Steve's #101 example about reporting model-layer warnings to JSF.
    It works good, but there is one caveat: it doen't report warnings ussied before prepareModel phase and after invokeApplication phase.
    The first isn't a trouble, but the secons can turn in it.
    For example, the entity has auto calculated field and in case of calculating want to inform user a value was changed.
    In #101 i'му aded warning right in getDname() method:
    getDBTransaction().getRootApplicationModule().addWarning(new JboWarning("getDname() warning"));
    These warning doesn't appear on the first load to the testPage.jspx, inspite of it was added at model level during renderModel.
    On second render the warning apperar but because getDname() called twice (why twice?) during process validation phase.
    Does anybody faced the need of adding warnings at the renderModel phase? The cues will be apreciate...
    Thanks.
    Ilya Rodionov.

    Hi,
    Thanks for your quickly reply.I debuged my code in the two mode,first I run my application in the business component browser ,all warning are displayed as I desired .(both in base entity clase SXEntityImpl and concrete entity class applicationUserImpl)but when I run my jsf page (which include the same view object),only warning added in my concrete entity(appicationUserImpl.java) displayed on the screen.
    lixinzhu
    2007/09/27

  • I am trying to use java  file as Model layer and jsf as presentation layer

    I am trying to use java file as Model layer and jsf as presentation layer and need some help
    I successfully get the value of h:outputText from java file by doing simple binding operation but I am facing problems when I am trying to fill h:dataTable
    I create java file
    package oracle.model;
    import java.sql.;*
    import java.util.;*
    *public class TableBean {*
    Connection con ;
    Statement ps;
    ResultSet rs;
    private List perInfoAll = new ArrayList();
    *public List getperInfoAll() {*
    perInfoAll.add(0,new perInfo("name","username","blablabla"));
    return perInfoAll;
    *public class perInfo {*
    String uname;
    String firstName;
    String lastName;
    *public perInfo(String firstName,String lastName,String uname) {*
    this.uname = uname;
    this.firstName = firstName;
    this.lastName = lastName;
    *public String getUname() {*
    return uname;
    *public String getFirstName() {*
    return firstName;
    *public String getLastName() {*
    return lastName;
    right click on the file and choose 'create data control'
    then i wrote the jsf file:
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<f:view>*
    *<h:dataTable id="dt1" value="#{bindings.perInfoAll}"*
    var="item" bgcolor="#F1F1F1" border="10"
    cellpadding="5" cellspacing="3" rows="4" width="50%"
    dir="LTR" frame="hsides" rules="all"
    *>*
    *<f:facet name="header">*
    *<h:outputText value="This is 'dataTable' demo" id="ot6"/>*
    *</f:facet>*
    *<h:column id="c2">*
    *<f:facet name="header">*
    *<h:outputText value="First Name" id="ot1"/>*
    *</f:facet>*
    *<h:outputText style="" value="#{item.firstName}"*
    id="ot2"/>
    *</h:column>*
    *<h:column id="c4">*
    *<f:facet name="header">*
    *<h:outputText value="Last Name" id="ot9"/>*
    *</f:facet>*
    *<h:outputText value="#{item.lastName}" id="ot8"/>*
    *</h:column>*
    *<h:column id="c3">*
    *<f:facet name="header">*
    *<h:outputText value="Username" id="ot7"/>*
    *</f:facet>*
    *<h:outputText value="#{item.uname}" id="ot4"/>*
    *</h:column>*
    *<f:facet name="footer">*
    *<h:outputText value="The End" id="ot3"/>*
    *</f:facet>*
    *</h:dataTable>*
    *</center>*
    *</af:document>*
    *</f:view>*
    but nothing is appear in my table
    I know that there is something wrong in calling the binding object
    I need help pls and where can i find some help to deal with another tag types
    thanks

    i dragged the "perInfoAll" from my "Data Controls" and choosed adf table (even I know that new table with adf tags well be generated and i want table with jsf tags)
    and this code is generated
    *<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"*
    *"http://www.w3.org/TR/html4/loose.dtd">*
    *<%@ page contentType="text/html;charset=UTF-8"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>*
    *<f:view>*
    *<af:document id="d1">*
    *<af:messages id="m1"/>*
    *<af:form id="f1">*
    *<af:table value="#{bindings.perInfoAll1.collectionModel}" var="row"*
    *rows="#{bindings.perInfoAll1.rangeSize}"*
    *emptyText="#{bindings.perInfoAll1.viewable ? 'No data to display.' : 'Access Denied.'}"*
    *fetchSize="#{bindings.perInfoAll1.rangeSize}"*
    *rowBandingInterval="0"*
    *selectionListener="#{bindings.perInfoAll1.collectionModel.makeCurrent}"*
    *rowSelection="multiple" id="t1">*
    *<af:column sortProperty="uname" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.uname.label}"*
    *id="c1">*
    *<af:inputText value="#{row.bindings.uname.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.uname.label}"*
    *required="#{bindings.perInfoAll1.hints.uname.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.uname.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.uname.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.uname.tooltip}"*
    *id="it3">*
    *<f:validator binding="#{row.bindings.uname.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="firstName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.firstName.label}"*
    *id="c2">*
    *<af:inputText value="#{row.bindings.firstName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.firstName.label}"*
    *required="#{bindings.perInfoAll1.hints.firstName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.firstName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.firstName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.firstName.tooltip}"*
    *id="it2">*
    *<f:validator binding="#{row.bindings.firstName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="lastName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.lastName.label}"*
    *id="c3">*
    *<af:inputText value="#{row.bindings.lastName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.lastName.label}"*
    *required="#{bindings.perInfoAll1.hints.lastName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.lastName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.lastName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.lastName.tooltip}"*
    *id="it1">*
    *<f:validator binding="#{row.bindings.lastName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *</af:table>*
    *</af:form>*
    *</af:document>*
    *</f:view>*
    but when run it i see the following errors
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    :(

  • I'm trying to report a problem about a download which didn't work and I'm being charged for it.

    I'm trying to report a problem about a download which didn't work and I'm being charged for it.

    Store > View My Account > Purchase History > Report a problem.
    Contact the store and explain the issue. They should be able to reissue your download or take whatever other steps are necessary to resolve your problem.
    tt2

  • My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    thanks for your response roaminggnome. I changed my password immediately after it happened and I have contacted i tunes to let them know of this dillemma.
    The I-tunes credit was a promotional thing by Apple to buy their laptop. So I didn't pay for the i-tunes credit in the first place. Do you think my bank will be able to reinburse Itunes credit then? I will ask support when they get back to me.

  • Problem in reports 6i  while using delimiter option.

    Hi,
    I am facing problem in report writer while using delimiter option.
    Report summary
    ==============
    In my report I am having two queries in data model and two different repeating frame for each in layout.
    These quires are called based on the user parameter. That means if user parameter is 1 then query 1 is called and the report is kick off and same for query 2 when user parameter is 2).
    Problem Encountered
    =================
    Both these reports are running fine while using pdf option to generate report .
    While using delimiter option only one of the query is able to generate report (based on which ever is created first and rest will give 0 byte file).
    I have also trapped it while using messages and it is logically flowing fine.
    I think report writer does not support such scenario.
    please expedite on this.
    thankx
    peyush

    Hi,
    There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
    Thanks,
    Rohit Hi Rohit,
    Thanks for the information.
    well I am generating single output file on each run .
    the problem is somewhat funny.
    I have build query2 in data model after query1.
    query 1 is giving me correct output both in .PDF and delimiter version.
    But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
    When I took out query2 to another module it is running fine for both.
    I hope this make sense.
    Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
    Thanks
    Mohit...

  • Report model - number of values selected in DDL param

    Good afternoon,
    I have created a report model that references Teradata views, and I am using this model to populate several datasets in a Report Builder report.  One dataset returns actual results, and the other datasets are used to populate available values for multivalued
    parameters.
    The issue I'm encountering is that some of my parameters return a large number (tens or hundreds of thousands) of selectable values.  When clicking "select all", I'm getting an error, since the concatenated list of values exceeds
    the length limit.  However, since I'm working with a report model, I cannot use T-SQL workarounds such as custom "<ALL>" values/handling.  I also need to limit my result set using these values as parameters, not filters, since I want
    the intensive processing handled in the DB server, not the app server.
    Is there any possible way to accommodate this?  As an example, I have a large (200k+) list of products, belonging to about 7,000 brands.  I want both my product number and brand lists as multivalue parameters...I might want to run
    the report for all products and all brands (returning 200k+ rows), or choose "select all" in the products list, but only pick a few brands (or vice versa).  Cascading parameters (with the first parameter limiting the next set of values)
    is not an option since there are many of these parameters that have too many values for the allowed limit (i.e. even my brand list generated the error when I choose "select all" and only picked a few products).
    I have searched literally dozens of forums and tech sites, all to no avail thus far.  Any assistance will be greatly appreciated...thank you!
    -Chris

    I have a SSRS Report with 4 multi-select parameters.
    The customer has requested that they would like the drill-through to open in a new window.
    I am using Java Script for that purpose.
    However, there is a limit on how long a URL may be.
    Is there a way in a SSRS report to limit the number of values in a multi-select parameter selected?
    Thanks.
    One workaround is to add a internal parameter which will count the number of selected values and will allow the navigation only if the count falls below the threshold.
    For this you can use an expression like below for setting the internal parameter
    Len(Join(Parameters!MultiValuedParameter.Value,","))-Replace(Join(Parameters!MultiValuedParameter.Value,","),",","")
    Then use expression like below for the jump to url/report property
    IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,<report url>,Nothing)
    You can also add a notification textbox on top which will show a message like "Report navigation not possible due to too many values selected" and keep it hidden by default. Then based on above parameter value you can make it visible
    ie make hidden property like below
    IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,False,True)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Approach to designing model layer

    Hi,
    I am keen to understand different approaches/routes to be followed to design model layer of an ADF project.
    As an example, the embedded URL shows the logical hierarchy strucutre of various business modules -
    http://www.slideshare.net/AnkitGupta55/hierarchy-23178558
    The logical structure will govern how the data will be shown to the user based on his selection of a value of in a top level LOV/Query component.
    For Ex:  if the user choose Child 1, then he should be able to see hierarchy : Main > Child 1 > Sub child 1
    Every module in the diagram has a backend supporting table, however, the tables may not have the similar relationships. So a follow up query would be - Is it mandatory to have an identical table relationships as depicted in the diagram.
    Also, request you to share suggestions on designing Entity Objects, View Objects etc.
    JDeveloper Version - 11.1.2.4.39.64.36.1
    Best Regards,
    Ankit Gupta

    Hi,
    Every module in the diagram has a backend supporting table, however, the tables may not have the similar relationships
    What do you refer to as module? The blocks as I see them can be treated as entities with associated VO. The relation between the two can be defined using entity associations or view links. Unfortunately its not easy to answer your question without knowing what you do know and what you don't know about ADF BC. Have you tried ADF (e..g running a tutorial) or have you only theoretical experience with the product. If you write ....
    request you to share suggestions on designing Entity Objects, View Objects etc.
    What exactly are you looking for and what does "etc." stand for in regards to the technology aspect it would represent? Entities and VO can be derived from an existing database infrastructure. If you don't have this, starting with teh ADF BC Diagrammer is a good way to start with. All documentation are accessible from otn.oracle.com/products/jdev
    Frank

  • How to convert Report Model to Report Designer DataSet

    To all,
    I have a two part question. One is I am experiencing the error at the end of this question when migrating SQL Server 2005 SSRS Native Reports, the report uses a Report Model, to SQL Server 2008 SSRS Native. I bring the Report and Report Model to SQL Server 2008 SSRS and get the error at the end of the question below. Background and the 2nd question are below.
    I have a bunch of Report Builder based Reports. I need to convert them to VS BIDS based Report Designer Reports with Shared Datasources and MDX based DataSets.
    How can I grab the MDX from the Report Builder Report Model so I can put it into the Report Designer DataSet Query Definition?
    What is the easiest way to make this migration between these Report development environments.
    I am able to open the Report.RDL file in VS BIDS and can see the entire UI layer. The DataSet I see here is the one that is related to the error at the end of the question. The RD/DataSet holds:
    <SemanticQuery xmlns="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rb="http://schemas.microsoft.com/sqlserver/2004/11/reportbuilder" xmlns:qd="http://schemas.microsoft.com/sqlserver/2004/11/semanticquerydesign">
      <Hierarchies>
        <Hierarchy>
          <BaseEntity>
            <!--Fact Messages-->
            <EntityID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Entity_MeasureGroup_DW_Text_Fact_Messages</EntityID>
          </BaseEntity>
          <Groupings>
            <Grouping Name="Date">
              <Expression Name="Date">
                <Path>
                  <RolePathItem>
                    <!--Dim Date-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Full Date-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Full_Date</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
            <Grouping Name="Hour">
              <Expression Name="Hour">
                <Path>
                  <RolePathItem>
                    <!--Dim Time-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Time_Entity_Dimension_DW_Text_Dim_Time</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Hour24-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Time.Hour24</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
            <Grouping Name="Year">
              <Expression Name="Year">
                <Path>
                  <RolePathItem>
                    <!--Dim Date-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Year-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Year</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
          </Groupings>
          <Filter>
            <Expression Name="expr1">
              <Function>
                <FunctionName>And</FunctionName>
                <Arguments>
                  <Expression>
                    <Function>
                      <FunctionName>And</FunctionName>
                      <Arguments>
                        <Expression>
                          <Function>
                            <FunctionName>GreaterThanOrEquals</FunctionName>
                            <Arguments>
                              <Expression>
                                <Path>
                                  <RolePathItem>
                                    <!--Dim Date-->
                                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                                  </RolePathItem>
                                </Path>
                                <AttributeRef>
                                  <!--Date-->
                                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Date</AttributeID>
                                </AttributeRef>
                              </Expression>
                              <Expression>
                                <Function>
                                  <FunctionName>DateAdd</FunctionName>
                                  <Arguments>
                                    <Expression>
                                      <Literal>
                                        <DataType>String</DataType>
                                        <Value>Day</Value>
                                      </Literal>
                                    </Expression>
                                    <Expression>
                                      <Function>
                                        <FunctionName>Negate</FunctionName>
                                        <Arguments>
                                          <Expression>
                                            <ParameterRef>
                                              <ParameterName>Date  in last  (n)  days</ParameterName>
                                            </ParameterRef>
                                          </Expression>
                                        </Arguments>
                                      </Function>
                                    </Expression>
                                    <Expression>
                                      <Function>
                                        <FunctionName>Today</FunctionName>
                                      </Function>
                                    </Expression>
                                  </Arguments>
                                </Function>
                              </Expression>
                            </Arguments>
                          </Function>
                        </Expression>
                        <Expression>
                          <Function>
                            <FunctionName>LessThan</FunctionName>
                            <Arguments>
                              <Expression>
                                <Path>
                                  <RolePathItem>
                                    <!--Dim Date-->
                                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                                  </RolePathItem>
                                </Path>
                                <AttributeRef>
                                  <!--Date-->
                                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Date</AttributeID>
                                </AttributeRef>
                              </Expression>
                              <Expression>
                                <Function>
                                  <FunctionName>Today</FunctionName>
                                </Function>
                              </Expression>
                            </Arguments>
                          </Function>
                        </Expression>
                      </Arguments>
                    </Function>
                    <CustomProperties>
                      <CustomProperty Name="qd:FilterCondition" />
                    </CustomProperties>
                  </Expression>
                  <Expression>
                    <Function>
                      <FunctionName>Equals</FunctionName>
                      <Arguments>
                        <Expression>
                          <Path>
                            <RolePathItem>
                              <!--Dim Volume-->
                              <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Volume_Entity_Dimension_DW_Text_Dim_Volume</RoleID>
                            </RolePathItem>
                          </Path>
                          <AttributeRef>
                            <!--Description-->
                            <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Volume.Description</AttributeID>
                          </AttributeRef>
                        </Expression>
                        <Expression>
                          <Literal>
                            <DataType>String</DataType>
                            <Value>Volume</Value>
                          </Literal>
                        </Expression>
                      </Arguments>
                    </Function>
                    <CustomProperties>
                      <CustomProperty Name="qd:FilterCondition" />
                    </CustomProperties>
                  </Expression>
                </Arguments>
              </Function>
              <CustomProperties>
                <CustomProperty Name="qd:Filter" />
                <CustomProperty Name="qd:ContextEntityID">
                  <Value xsi:type="xsd:string">http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling:Entity_MeasureGroup_DW_Text_Fact_Messages</Value>
                </CustomProperty>
                <CustomProperty Name="qd:AutoChangeBaseEntity" />
                <CustomProperty Name="qd:Design">
                  <Value xsi:type="xsd:string">expr2</Value>
                </CustomProperty>
              </CustomProperties>
            </Expression>
          </Filter>
        </Hierarchy>
      </Hierarchies>
      <MeasureGroups>
        <MeasureGroup>
          <BaseEntity>
            <!--Fact Messages-->
            <EntityID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Entity_MeasureGroup_DW_Text_Fact_Messages</EntityID>
          </BaseEntity>
          <Measures>
            <Expression Name="Volume">
              <AttributeRef>
                <!--Volume-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Volume</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Auto %">
              <AttributeRef>
                <!--Automated_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Automated_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Send Now %">
              <AttributeRef>
                <!--Send_Now_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Send_Now_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Use %">
              <AttributeRef>
                <!--Use_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Use_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Stock Ans %">
              <AttributeRef>
                <!--StockAns_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_StockAns_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Charged">
              <AttributeRef>
                <!--Charged_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Charged_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Billed">
              <AttributeRef>
                <!--Billed_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Billed_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Avg TTA (s)">
              <AttributeRef>
                <!--Avg_TT_Answer-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Avg_TT_Answer</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Avg TTC (s)">
              <AttributeRef>
                <!--Avg_Time_To_Customer-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Avg_Time_To_Customer</AttributeID>
              </AttributeRef>
            </Expression>
          </Measures>
          <SubtotalSets>
            <SubtotalSet>
              <SubtotalGroupings>
                <GroupingName>Year</GroupingName>
              </SubtotalGroupings>
              <SubtotalMeasures>
                <MeasureName>Volume</MeasureName>
                <MeasureName>Auto %</MeasureName>
                <MeasureName>Send Now %</MeasureName>
                <MeasureName>Use %</MeasureName>
                <MeasureName>Stock Ans %</MeasureName>
                <MeasureName>Charged</MeasureName>
                <MeasureName>Billed</MeasureName>
                <MeasureName>Avg TTA (s)</MeasureName>
                <MeasureName>Avg TTC (s)</MeasureName>
              </SubtotalMeasures>
            </SubtotalSet>
            <SubtotalSet>
              <SubtotalGroupings>
                <GroupingName>Date</GroupingName>
                <GroupingName>Year</GroupingName>
              </SubtotalGroupings>
              <SubtotalMeasures>
                <MeasureName>Volume</MeasureName>
                <MeasureName>Auto %</MeasureName>
                <MeasureName>Send Now %</MeasureName>
                <MeasureName>Use %</MeasureName>
                <MeasureName>Stock Ans %</MeasureName>
                <MeasureName>Charged</MeasureName>
                <MeasureName>Billed</MeasureName>
                <MeasureName>Avg TTA (s)</MeasureName>
                <MeasureName>Avg TTC (s)</MeasureName>
              </SubtotalMeasures>
            </SubtotalSet>
          </SubtotalSets>
        </MeasureGroup>
      </MeasureGroups>
      <Parameters>
        <Parameter Name="Date  in last  (n)  days">
          <DataType>Integer</DataType>
          <Expression>
            <Literal>
              <DataType>Integer</DataType>
              <Value>14</Value>
            </Literal>
          </Expression>
        </Parameter>
      </Parameters>
      <CustomProperties>
        <CustomProperty Name="qd:PerspectiveID">
          <Value xsi:type="xsd:string">http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling:Perspective_Cube_DW_Text</Value>
        </CustomProperty>
      </CustomProperties>
    </SemanticQuery>
    I have created a Shared Datasource that points the the correct Analysis Services cubes that the original Report Model pointed at.
    However, I get this error when running the report:
    An error occurred during client rendering.
    An error has occurred during report processing.
    Semantic query compilation failed: e EmptySemanticQuery The SemanticQuery does not contain any Groupings or MeasureGroups. SemanticQuery must contain at least one of these elements. (SemanticQuery '').

    Actually the error above is from running the report on SSRS 2008 Native. Does anyone know why I get this error and how it may be resolved.
    Then I try to bring the report into BIDS RD and create a SDS and DataSet. The Semantic Query above is from the RD DataSet Query window.
    I get the following error when running the report in BIDS RD:
    An error occured during local processing.
    An error has occured during report processing.
    Query execution failed for dataset 'dataSet'.
    The SemanticQuery element at line 7, column 351 (namespace http://schema.microsoft.com/sqlserver/2004/10semanticmodeling) cannot appear under Envelope/Body/Execute/Command.
    So I have two errors with two scenarios. I'd like to know how to resolve one of them.
    I'd also like to know how to get the MDX from the RB/RM report so I can put it into the VS BIDS Version and get that to work properly.
    Thanks,
    Eric

  • What is replacing the Report Model

    Hi
    Given that from SQL 2012 onwards it is no longer possible to create a Report Model for use in the Report Builder, I was wondering what is taking its place?
    The scenario is that I want our end users to be able to create reports using Report Builder to query the live transactional database. I thought I should create a Report Model to help them, but now I'm not sure what to do.
    I want to build a solution that we can take forward and not base it on something that is deprecated.
    IS the recommendation to move to Analysis Server? If so, what about real time reports.
    Thanks for your help.
    Graham

    Think of a Shared Dataset as a view.  You can create them and users can use them in the same fashion, though the data is flattened out.  A Shared Dataset works through a Shared Data Source and is direct connection to the database, however when
    developing against a Shared Dataset, users typically do not have to authenticate like they would with a Shared Data Source.
    There really isn't anything to expose the raw schema or specific set of tables like you can with a model anymore that i am aware of other than using a Share Data Source and trying to limit security on the database side.

  • Problem about Cups!

    Hey AF.
    I just got a Keycera FS3800 Laser printer - And want to setup this for networking printing!
    I have my server where I have installed Cups and edited along the wikiguide to cups.
    But each time I want to print a testpage - it stops the printer.
    I have installed the following packages:
    cups - ghostscript - foomatic-filters and downloaded the ppd and copied into models. BUT nothing makes me able to print to the printer (Using network) - so that I able to set this printer up for anybody in my house no matter OS ??
    Or know if this is a special driver or anything else ???
    Have anybody any ideas or can help me getting further?

    peque wrote:
    Of course.
    The printer is connected using rj45 and nothing else.
    My network is made with a LAN zone(where the printer is)  with a IPTABLES firewall to the outside.
    I have swith 24ports connected to the firewall and thats where allo PC´s are connected to unless they are using the wireless - buit still they are connected using this switch.
    I have 1 PC (laptop) connected directly to the printer - works just fine.
    But I would´like to use a cups-server, for alle PC in the house. So no matter what they have to go via the cups-server.
    I have copying the ppd file that I got to work on the laptop - and using the exactly same settings about the printer. But when I try to print a test page - THe cups server returns with the printer stopped. After from what I can see - there´s no problem about the network - I can ping, telnet and everything else - But the only problem is that the machine I want to use as cups server will not print with the printer.
    The laptop prints just fine (I used the kde guide to install the printer on this - and another laptop wioth windows also prints fine directly on the port)
    Hoefully this was some more info - Or write me which details you want!
    Sorry, beyond my skill level. I print to a network printer which is attached to a router with a standard ethernet cable. The printer is just a device on the network. The router is the "firewall" to the outside world and the gateway to the Internet for the PCs on the network.
    Good luck, jimbo

  • Link Join Concept In Physical and Business Model Layer

    Hi,
    As we know that we could make join relationship in physical layer and also business model layer in obiee 10g. This is what makes me confuse.
    First of all, I tried to follow the tutorial in the oracle learning library center with schema SH as an example.
    In the beginning, it is stated that we must make join relationship first in physical layer for all imported tables which are consist of dimension tables and fact tables.
    Then, in the business model layer, the tutorial said that we must also make join relationship for the logical dimension table and logical fact table.
    So, what's the purpose actually we must make join relationship in business model layer ?
    All objects in business model layer are actually mapped from physical layer. So automatically the relationship in business model layer should be available automatically as they are mapped from physical layer.
    Maybe for you guys who know the concept well about this difference of relationship, could tell me so I could get the idea of what it is actually about.
    Thanks

    Physical layer does represent datamodel joins as is in almost all cases.
    Federated queries are a best example why joins are implemented in both (Physical & BMM layer) places.
    Business model mapping layer is modelled according to your business requirements.
    This is where your model MUST be a simple star schema, also where you model your hierarchies based on logical tables in bmm layer, & do appropriate aggregate navigation.
    Hope the view points presented will put you in right direction.
    mark answers promptly.
    -bifacts
    http://www.obinotes.com
    J
    Edited by: bifacts on Dec 16, 2010 9:19 PM

  • Cascading Filters in Report Model

    Hi
    I have created a Report Model for Adhoc Reports, we are using Report Builder 1.0 as Adhoc tool. Now the issue is when the user filters the data. First, user applies filter on Product Catogery Table (ProductCatogery_ID = 1) , now when trying to apply
    filter on Product Sub Catagory Table, in the filter drop down it is showing all the Sub_Catagory_IDs, but the user wants to see only those Sub_Catagory_IDs related to (ProductCatogery_ID = 1). How can we acheive this in Report Builder.
    Royal Thomas

    Hi Royal Thomas,
    According to your description, you created an Ad-hoc report with report model as data source in Report Builder 1.0. You want to create a cascading parameter, after ProductCatogery_ID is selected, the list of values for Sub_Catagory_ID will be displayed depends
    on the value chosen in preceding parameter.
    I tested the issue in my local machine, I can add a filter by dragging an entity or field name to the filter area and specify a comparison operator and criteria. But I’m afraid we could not create cascading parameters achieve that in Report Builder 1.0,
    as a workaround, we can achieve Cascading Parameter in Report Designer and in Report Builder 2.0.
    For more information about Add Cascading Parameters to a Report, please refer to the following document:
    http://msdn.microsoft.com/en-us/library/dd255197(v=sql.100).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • PI7.0: Problem about openning alert configuration in RMB

    Hi experts,
       I encounter a problem about alert configuration.
       I have defined the alert catogory in WAS ABAP and use the report RSALERTTEST to test it. It's OK. Then I logon RWB and click u201CAlert configurationu201D,system popup a login window. I input my user account and confirm it. But the logon window popup again and again.I don't kown how to resolve it. BTW, my user account has the roles SAP_ALM_ADMINISTRATOR and SAP_ALM_CUSTOMIZER.And I have resolved the problem "Alert configuration does not start" according to note 750287.
       Anyone has idea??Could you please give me some advice???
    Thanks a lot in advance.
    BR Villy.L

    Hello Villy
    Check these notes:
    1) #913858 XI Alerting: Troubleshooting
    2) #768456 Troubleshooting Runtime Workbench
    Restart the java engine after making any changes in the Exchange Profile.
    For further info check previous threads on this topic:
    The URL contains no complete domain specification
    Calling the BSP page terminated due to an error While accessing ALERT INBOX
    Regards
    Mark

  • PI7.0: Problem about openning alert configuration in RWB

    Hi experts,
       I encounter a problem about alert configuration.
       I have defined the alert catogory in WAS ABAP and use the report RSALERTTEST to test it. It's OK. Then I logon RWB and click u201CAlert configurationu201D,system popup a login window. I input my user account and confirm it. But the logon window popup again and again.I don't kown how to resolve it. BTW, my user account has the roles SAP_ALM_ADMINISTRATOR and SAP_ALM_CUSTOMIZER.And I have resolved the problem "Alert configuration does not start" according to note 750287.
       Anyone has idea??Could you please give me some advice???
    Thanks a lot in advance.
    BR Villy.L

    Hi Villy,
    Although i have not faced this issue but one workaround fix that can help you to address your problem would be....
    Please add below 'actions' to 'everyone' role using NWA->Identity Management
    UME keystore-view.TicketKeystore entry-actions.all.all
    UME keystore-view.TicketKeystore property-actions.all.all
    UME keystore-view.TicketKeystore view-actions.all.all
    Then, Initiate RWB using URL - http://<j2ee-host>:<http-port>/rwb/rtc?op=init
    I hope this fixes your issue.
    Regards
    Sekhar

Maybe you are looking for

  • [Error 333] Cannot export movie at all

    Hi All, I have created a new movie using iMovie 8.5 (latest version included in iLife 09). Unfortunately, when I try to export my first project, after few minutes of processing (the blu progress bar fully completes the process) it gives me an error s

  • Syncronization address book

    I regularly sync my iphone with my powerbook g4 (osx 10.4.11) and I choose always to sync the address book too. However now I cannot get the new conctacts fron my addressbook neither the other way round. So if I add a contact on my iphone I cannot ha

  • How AR Credit Memos created in iReceivables linked to an AR Invoice

    Hi to All, We are looking to find out when a credit memo (dispute) is created in iReceivables and linked to a invoice in AR. What is the main table that links or shares data for the credit memo being applied to the invoice. Any help would be greatly

  • Query transaction

    i am writing a stored procedure i have to put transaction in that as there are multiple quires . create or replace PROCEDURE usp_addAppointment_Mst there i am passing 25 parameetrs pAppid in number,      pAppcode in VARCHAR,      pAppdate in date,   

  • Why is the lower part of my iPhone screen unresponsive (certain apps only)?

    I have an iPhone 3GS, just updated it to iOS 6 last week. It has been working fine, but since yesterday the lower 1/10th of the screen (where the send button is for SMS, space bar and other key items) is unresponsive in certain apps. For example, I c