To show data( List of valueObjects   ,each vo contains List)using jsp tags

I have set List in request attribute.
List has value Object Class Objects.
each value object contains get/set methods which get and set List of Strings and other get/set return and set Strings like:
List getvaluesList()
setValuesList(List list)
String getLabel()
setLabel(String st)
My problem is how to show them in jsp using tags.
ofcourse there will be drop down boxes in jsp with select options .

Hi,
According to your post, my understanding is that you wanted to display all the items that the logged-in users had created under each of the list in the site.
I don’t think it’s a good idea to display all the items that the logged-in users had created under each of the list in the site in a visual web part.
As we all known, different list has different fields, it will be different to display different list fields in a visual web part.
If you still want to use the visual web part, I recommend you use the common fields that all the lists contained, suach as the Title, Createdy by, etc.
Then query all the lists in the site by the created by field to compare with the current user.
As a workaround, I recommend you use a page to display all the items that the logged-in users had created in the site.
You can create a custom view based on current user for the lists, then add the lists web part in a page with the custom view.
Now the page would only show the current users items.
http://go.limeleap.com/community/bid/297846/Custom-List-View-Based-on-Current-User-Using-SharePoint-Designer
http://social.technet.microsoft.com/Forums/sharepoint/en-US/5e347dea-475e-4b95-8905-0f6e11bab7bf/sharepoint-list-filtering-by-current-user-or-group?forum=sharepointgeneralprevious
What’s more, you can also use the target audience to achieve it.
http://lixuan0125.wordpress.com/2012/06/18/audience-targeting-sharepoint-2010/
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support

Similar Messages

  • How to show data in a matrix form from a table using SQL

    Dear Friends,
    I have a table with three columns with the following data:
    Market, Product, Date, Value
    Market-A Product-A 01/01/04 34
    Market-A Product-A 01/02/04 33
    Market-A Product-A 01/03/04 67
    Market-A Product-A 01/04/04 64
    Market-A Product-B 01/01/04 34
    Market-A Product-B 01/02/04 36
    Market-A Product-B 01/03/04 77
    Market-A Product-B 01/04/04 32
    Market-B Product-C 01/01/04 25
    Market-B Product-C 01/02/04 56
    Market-B Product-C 01/03/04 45
    Market-B Product-C 01/04/04 68
    Market-B Product-D 01/01/04 78
    Market-B Product-D 01/02/04 75
    Market-B Product-D 01/03/04 32
    Market-B Product-D 01/04/04 35
    I have a requirement where in I have to filter the products based on market and then show in the following format on the screen:
    After filtering based on Market-A (eg) the data should look like:
    01/01/04 01/02/04 01/03/04 01/04/04
    Product-A 34 33 67 64
    Product-B 34 36 77 32
    Kinldy suggest how can I write a query to get the data in this format using SQL
    Thanks & Regards,
    Vinay

    scott@ORA92> -- test data:
    scott@ORA92> SELECT * FROM a_table
      2  /
    Market-A Product-A 01/01/04         34
    Market-A Product-A 01/02/04         33
    Market-A Product-A 01/03/04         67
    Market-A Product-A 01/04/04         64
    Market-A Product-B 01/01/04         34
    Market-A Product-B 01/02/04         36
    Market-A Product-B 01/03/04         77
    Market-A Product-B 01/04/04         32
    Market-B Product-C 01/01/04         25
    Market-B Product-C 01/02/04         56
    Market-B Product-C 01/03/04         45
    Market-B Product-C 01/04/04         68
    Market-B Product-D 01/01/04         78
    Market-B Product-D 01/02/04         75
    Market-B Product-D 01/03/04         32
    Market-B Product-D 01/04/04         35
    scott@ORA92> -- query:
    scott@ORA92> SELECT product,
      2           SUM (DECODE (the_date, to_date ('01/01/2004', 'mm/dd/yyyy'), value)) AS "01/01/04",
      3           SUM (DECODE (the_date, to_date ('01/02/2004', 'mm/dd/yyyy'), value)) AS "01/02/04",
      4           SUM (DECODE (the_date, to_date ('01/03/2004', 'mm/dd/yyyy'), value)) AS "01/03/04",
      5           SUM (DECODE (the_date, to_date ('01/04/2004', 'mm/dd/yyyy'), value)) AS "01/04/04"
      6  FROM   a_table
      7  WHERE  market = 'Market-A'
      8  GROUP  BY product
      9  /
    Product-A         34         33         67         64
    Product-B         34         36         77         32
    scott@ORA92>

  • Simple powershell to get list then excute each item of list HELP :)

    ok i think this is pretty simple i just don't know the language. if i run
    get-scdwjob -computername MYSERVERNAME
    i get a nice list of all the jobs, i need to run an enable-scdwjob on each one of those jobs.
    i tried figureing out how to do this but nothing is working

    Hi Philipzempel,
    I’m writing to just check in to see if the suggestions were helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • Listing of Channels in a container

    I am having some truble and need some help...
    I want to make a JSPProvider channel that can display all of the channels that are located in another Container.
    For example I have a TableContainer that contains a JSP channel and another Table Container
    RootTableContainer
    ----> JSP Channel
    -----> TableContainer
    Within the JSP Channel I want to provide a list of all of the channels availaible in the Table Container. Essentially this will work similar to the Frame Layout.
    I have tried variations of the following with no success:
    <dt:obtainContainer container="$CONTAINERNAME">
    <dtcpc:containerProviderContext>
    <jx:forEach var="channel" items="$channels">
      <dtcpc:obtainChannelFromContainer channel="channel">
      <jx:declare id="channel" type="java.lang.String"/>
      <dt:getTitle id="title" scope="request" silentException="true"/>
      <jx:declare id="title" type="java.lang.String"/>
      Title: <%=title%>
      Channel: <%=channel%>
      </dtcpc:obtainChannelFromContainer>
    </jx:forEach>
    </dtcpc:containerProviderContext>
    </dt:obtainContainer>Can anyone provide some help/feedback.
    -Thanks

    only an idea:
    listing all channels within one container lists only the channels availabe in here, so you need to "get a hook" upwards to the parent container (from JSPChannel -> Root) which should be able to provide you with a list of the contained containers (JSPChannel+TableContainer). So you get the hook to TableContainer and can ask this one for its content.
    -> means up and down the hierachy.
    another option could be to extend the RootContainer (maybe you don't have to develop a new one and extending the JSP is enough) and in this you go downwards to the TableContainer, fetch the information and send it as a parameterlist from Root to your JSPChannel-Provider.
    .. only 2 ideas
    /u

  • Best way to show data of multiple lists - List Dashboard

    Hi,
    I am using SP 2013. I have around 10 custom lists, in which users add items. When a item is added a custom Visual studio approval workflow is triggerred.
    I am trying to create a visual webpart (VS 2012) , which will show the items that the logged-in user has created under each of the list. I want to show the data in a list-by-list manner (kind of a dashboard). Each of the list has different kind of columns.
    Which would be ideal way to achieve this? Should it be a dynamic table or a dynamic SPGridView or is there any other way to achieve this?
    There would be multiple entries the user would have added under each list. So a paging would help.
    Thanks

    Hi,
    According to your post, my understanding is that you wanted to display all the items that the logged-in users had created under each of the list in the site.
    I don’t think it’s a good idea to display all the items that the logged-in users had created under each of the list in the site in a visual web part.
    As we all known, different list has different fields, it will be different to display different list fields in a visual web part.
    If you still want to use the visual web part, I recommend you use the common fields that all the lists contained, suach as the Title, Createdy by, etc.
    Then query all the lists in the site by the created by field to compare with the current user.
    As a workaround, I recommend you use a page to display all the items that the logged-in users had created in the site.
    You can create a custom view based on current user for the lists, then add the lists web part in a page with the custom view.
    Now the page would only show the current users items.
    http://go.limeleap.com/community/bid/297846/Custom-List-View-Based-on-Current-User-Using-SharePoint-Designer
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5e347dea-475e-4b95-8905-0f6e11bab7bf/sharepoint-list-filtering-by-current-user-or-group?forum=sharepointgeneralprevious
    What’s more, you can also use the target audience to achieve it.
    http://lixuan0125.wordpress.com/2012/06/18/audience-targeting-sharepoint-2010/
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • My events photo albums have all been renamed with a number followed by IMPRT instead of the date which was how they were originally named. Also the photo now showing on the top of each folder is not actually in that folder. How do I restore?

    My events photo albums have all been renamed with a number followed by IMPRT (deleting the date on which they were taken) Also the photo now showing on the top of each folder is taken from a different event and so is not actually in the album it is sitting on top of. This happened when I linked to itunes. Any idea how to restore it to how it looked before?

    One thing that I find odd is that iTunes used to rebuild the .itl file when you deleted it.  It seems as if the newer iTunes somehow broke this old capability.  If you delete the .itl file it can't rebuild it- it simple treats this as if this is a fresh installation and completely ignores the fact that the .xml file has all the data in it.  I think Apple needs to bring back this old "feature".  Of course, the negative with that was that you lost all of the "Date Added" info along with some other stuff but at least it still kept the favorites info etc. (and I think maybe even the path although I don't believe I ever tried that because my account path has never changed until now).
    One side note: I can't find where the iTunes Windows SDK is.  I was hoping to try to use that to access the .itl "database" and write a utility to fix this situation.  Seems like this has moved from its original location...

  • Child list as a table doesn't show data until window is resized.

    Hi,
    I am trying to develop a page made up of a list of objects. Each object has some properties that I want to display as a form and then a child list of objects. This child list of objects, i am displaying as a table. I have the following page and backing bean. Normally, to display a list of objects each of which has a sublist of objects, I can use a "nested iterator". But I am not able to refer to the child iterator as a part of the parent iterator.
    The page is as follows:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_frmBuilder9.d1}">
    <af:messages binding="#{backingBeanScope.backing_frmBuilder9.m1}"
    id="m1"/>
    <af:form id="f1" binding="#{backingBeanScope.backing_frmBuilder9.f1}">
    <af:table value="#{bindings.frms.collectionModel}" var="row"
    rows="#{bindings.frms.rangeSize}"
    emptyText="#{bindings.frms.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.frms.rangeSize}" rowBandingInterval="0"
    binding="#{backingBeanScope.backing_frmBuilder9.t1}" id="t1"
    columnStretching="none" horizontalGridVisible="false"
    verticalGridVisible="false">
    <af:column sortProperty="name" sortable="false" id="c3"
    width="500">
    <af:panelFormLayout id="pfl2">
    <af:inputText value="#{row.bindings.name.inputValue}" label="Name"
    required="#{bindings.frms.hints.name.mandatory}"
    columns="#{bindings.frms.hints.name.displayWidth}"
    maximumLength="#{bindings.frms.hints.name.precision}"
    shortDesc="#{bindings.frms.hints.name.tooltip}"
    id="it1">
    <f:validator binding="#{row.bindings.name.validator}"/>
    </af:inputText>
    <af:inputText value="#{row.bindings.comment.inputValue}"
    label="#{bindings.frms.hints.comment.label}"
    required="#{bindings.frms.hints.comment.mandatory}"
    columns="#{bindings.frms.hints.comment.displayWidth}"
    maximumLength="#{bindings.frms.hints.comment.precision}"
    shortDesc="#{bindings.frms.hints.comment.tooltip}"
    id="it3">
    <f:validator binding="#{row.bindings.comment.validator}"/>
    </af:inputText>
    <af:inputText value="#{row.bindings.logFile.inputValue}"
    label="#{bindings.frms.hints.logFile.label}"
    required="#{bindings.frms.hints.logFile.mandatory}"
    columns="#{bindings.frms.hints.logFile.displayWidth}"
    maximumLength="#{bindings.frms.hints.logFile.precision}"
    shortDesc="#{bindings.frms.hints.logFile.tooltip}"
    id="it2">
    <f:validator binding="#{row.bindings.logFile.validator}"/>
    </af:inputText>
    <af:inputText value="#{row.bindings.id.inputValue}"
    label="#{bindings.frms.hints.id.label}"
    required="#{bindings.frms.hints.id.mandatory}"
    columns="#{bindings.frms.hints.id.displayWidth}"
    maximumLength="#{bindings.frms.hints.id.precision}"
    shortDesc="#{bindings.frms.hints.id.tooltip}"
    id="it4">
    <f:validator binding="#{row.bindings.id.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:table value="#{backingBeanScope.backing_frmBuilder9.childData}"
    var="row1" rows="#{bindings.formulas.rangeSize}"
    emptyText="#{bindings.formulas.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.formulas.rangeSize}"
    rowBandingInterval="0" id="t2"
    inlineStyle="width:200px; height:100.0px;" width="400">
    <af:column sortProperty="rhs" sortable="false"
    headerText="#{bindings.formulas.hints.rhs.label}"
    id="c8">
    <af:inputText value="#{row1.rhs}"
    label="#{bindings.formulas.hints.rhs.label}"
    required="#{bindings.formulas.hints.rhs.mandatory}"
    columns="#{bindings.formulas.hints.rhs.displayWidth}"
    maximumLength="#{bindings.formulas.hints.rhs.precision}"
    shortDesc="#{bindings.formulas.hints.rhs.tooltip}"
    id="it6"/>
    </af:column>
    <af:column sortProperty="lhs" sortable="false"
    headerText="#{bindings.formulas.hints.lhs.label}"
    id="c6">
    <af:inputText value="#{row1.lhs}"
    label="#{bindings.formulas.hints.lhs.label}"
    required="#{bindings.formulas.hints.lhs.mandatory}"
    columns="#{bindings.formulas.hints.lhs.displayWidth}"
    maximumLength="#{bindings.formulas.hints.lhs.precision}"
    shortDesc="#{bindings.formulas.hints.lhs.tooltip}"
    id="it5"/>
    </af:column>
    <af:column sortProperty="lineComment" sortable="false"
    headerText="#{bindings.formulas.hints.lineComment.label}"
    id="c7">
    <af:inputText value="#{row1.lineComment}"
    label="#{bindings.formulas.hints.lineComment.label}"
    required="#{bindings.formulas.hints.lineComment.mandatory}"
    columns="#{bindings.formulas.hints.lineComment.displayWidth}"
    maximumLength="#{bindings.formulas.hints.lineComment.precision}"
    shortDesc="#{bindings.formulas.hints.lineComment.tooltip}"
    id="it7"/>
    </af:column>
    </af:table>
    </af:column>
    <af:column sortProperty="comment" sortable="false"
    headerText="#{bindings.frms.hints.comment.label}" id="c2"
    rendered="false"/>
    <af:column sortProperty="logFile" sortable="false"
    headerText="#{bindings.frms.hints.logFile.label}" id="c4"
    rendered="false"/>
    <af:column sortProperty="id" sortable="false"
    headerText="#{bindings.frms.hints.id.label}" id="c1"
    rendered="false"/>
    <af:column id="c9" headerText="Save" rendered="false">
    <af:commandButton actionListener="#{bindings.save.execute}"
    text="save" disabled="#{!bindings.save.enabled}"
    binding="#{backingBeanScope.backing_frmBuilder9.cb1}"
    id="cb1" rendered="true"/>
    </af:column>
    <af:column id="c5" headerText="Formulas" rendered="false"/>
    </af:table>
    <af:table var="row" rowBandingInterval="0"
    binding="#{backingBeanScope.backing_frmBuilder9.t3}" id="t3"
    rendered="false">
    <af:column sortable="false" headerText="col1" id="c10" width="400">
    <af:panelFormLayout id="pfl1">
    <f:facet name="footer"/>
    <af:inputText value="#{row.bindings.name.inputValue}"
    label="#{bindings.frms.hints.name.label}"
    required="#{bindings.frms.hints.name.mandatory}"
    columns="#{bindings.frms.hints.name.displayWidth}"
    maximumLength="#{bindings.frms.hints.name.precision}"
    shortDesc="#{bindings.frms.hints.name.tooltip}"
    id="inputText1">
    <f:validator binding="#{row.bindings.name.validator}"/>
    </af:inputText>
    <af:inputText value="#{row.bindings.comment.inputValue}"
    label="#{bindings.frms.hints.comment.label}"
    required="#{bindings.frms.hints.comment.mandatory}"
    columns="#{bindings.frms.hints.comment.displayWidth}"
    maximumLength="#{bindings.frms.hints.comment.precision}"
    shortDesc="#{bindings.frms.hints.comment.tooltip}"
    id="inputText2">
    <f:validator binding="#{row.bindings.comment.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:table value="#{backingBeanScope.backing_frmBuilder9.childData}"
    var="row1" rows="#{bindings.formulas.rangeSize}"
    emptyText="#{bindings.formulas.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.formulas.rangeSize}"
    rowBandingInterval="0" id="table1">
    <af:column sortProperty="rhs" sortable="false"
    headerText="#{bindings.formulas.hints.rhs.label}"
    id="column1">
    <af:inputText value="#{row1.rhs}"
    label="#{bindings.formulas.hints.rhs.label}"
    required="#{bindings.formulas.hints.rhs.mandatory}"
    columns="#{bindings.formulas.hints.rhs.displayWidth}"
    maximumLength="#{bindings.formulas.hints.rhs.precision}"
    shortDesc="#{bindings.formulas.hints.rhs.tooltip}"
    id="inputText3"/>
    </af:column>
    <af:column sortProperty="lhs" sortable="false"
    headerText="#{bindings.formulas.hints.lhs.label}"
    id="column2">
    <af:inputText value="#{row1.lhs}"
    label="#{bindings.formulas.hints.lhs.label}"
    required="#{bindings.formulas.hints.lhs.mandatory}"
    columns="#{bindings.formulas.hints.lhs.displayWidth}"
    maximumLength="#{bindings.formulas.hints.lhs.precision}"
    shortDesc="#{bindings.formulas.hints.lhs.tooltip}"
    id="inputText4"/>
    </af:column>
    <af:column sortProperty="lineComment" sortable="false"
    headerText="#{bindings.formulas.hints.lineComment.label}"
    id="column3">
    <af:inputText value="#{row1.lineComment}"
    label="#{bindings.formulas.hints.lineComment.label}"
    required="#{bindings.formulas.hints.lineComment.mandatory}"
    columns="#{bindings.formulas.hints.lineComment.displayWidth}"
    maximumLength="#{bindings.formulas.hints.lineComment.precision}"
    shortDesc="#{bindings.formulas.hints.lineComment.tooltip}"
    id="inputText5"/>
    </af:column>
    </af:table>
    </af:column>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    The child list i am getting onto the page via the backing bean. *"#{backingBeanScope.backing_frmBuilder9.childData}"*
    The problem I am facing here is, the first time the page loads I am not able to see the child data in the table. If I resize the page, then I am able to see the data in the child table. Anybody faced this issue before ? And any way to overcome this problem ? Please let know.
    Thanks,
    pawan.

    There is no check box for Advanced Options as they're already there when editing. Except for the partition options, which obviously aren't.
    This was mentioned time ago and I'm pretty sure they have an enhancement planned for this. Might be a looong time until you get it though. Better request this officially on the SQL Developer Exchange, so other users can vote on the request and add weight for sooner implementation.
    Regards,
    K.

  • Explain me briefly about evaluation order.As per my knowledge it show data type order.but I have different data type in same diemension ex:account- acc_001 is smart list data type.account-ac_002 is percentage.So fot this i will accont dim in evaluation or

    Explain me briefly about evaluation order.As per my knowledge it show data type order.but I have different data type in same dimension ex:account->acc_001 is smart list data type.account-ac_002 is percentage.So fot this i will accont dim in evaluation order.What going can any one explaining brifly ?

    2786712 wrote:
    thanks John for reply.If you dont mine can you explain clearly with example and screenshot.
    @John: You got a task
    Here you go: Hyperion Planning and More...

  • How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    Hi,
    Sorry, we do not support a matrix-question field.   Please try the multilines text field (where your participant can enter multiple lines in the input text box) and see if it works for you.
    Thanks,
    Lucia

  • How to show data from sharepoint list in mm dd yyyy format using Server Object Model

    In SharePoint 2010
    List "Employee", Colum Name "JoinDate" 
    has stored data in  (01/31/2014 12.00 PM) mm\dd\yyyy hr:mm PM format.
    How to display this data in mm\dd\yyyy only using C# on custom web part?

    //Write the code to read your list item
    SPListItem item = list.Items[0];
    //Get a DateTime object with the list column value
    DateTime date = Convert.ToDateTime(item["Date Column Name"]);
    String strDate = date.ToString("mm-dd-yyyy hh:mm tt");
    //you can also try ("dd/mmm/yyyy")
    http://sharepoint.stackexchange.com/questions/12820/safest-way-to-get-a-date-from-sharepoint-into-a-c-datetime-field-using-object

  • Showing selected parameters values on each page in SSRS

    Hi All,
    I have a SSRS report with multi-selection parameter..Basically it's a summary report of sales and based on country parameter I have to show data.
    let say Country is the parameter and below are the values of the Country parameter list...
    Parameters list:
    All
    Australia
    England
    Canada
    Italy
    Parameter: All
    1) If I select 'All' in the parameter list then
    In 1st page I should see data related to Australia and display parameter value as Australia in the left side top corner of the report.   In 2nd page I should see data related to England and display parameter value as England in the left side top
    corner of the report.   In 3rd page I should see data related to Canada and display parameter value as Canada in the left side top corner of the report.  In 4th page I should see data related to Italy and display parameter value as Italy in
    the left side top corner of the report.  In 5th page I should see data related to All and display parameter value as All in the left side top corner of the report.
    2) If I select Australia and England in the parameter list then
    In 1st page I should see data related to Australia and display parameter value 
    as Australia in the left side top corner of the report.   In 2nd page I should see data related to England and display parameter value as England in the left side top corner of the report.
    3) If I select Italy in the parameter list then
    In 1st page I should see data related to Italy and display parameter value 
    as Italy in the left side top corner of the report.
    It should look like this..I need help in showing parameters (selected parameter) individually on each page.
    Page-1
    Parameter: Australia ( how to show Australia on 1st page)
    Product
    Amount
    Country
    Prd1
    100
    Australia
    Prd2
    200
    Australia
    Prd3
    300
    Australia
    Prd1
    340
    Australia
    Page-2
    Parameter: England ( how to show England on 2nd page)
    Product
    Amount
    Country
    Prd4
    400
    England
    Prd1
    125
    England
    Page-3 
    Parameter: Italy ( how to show Italy on 3rd page)
    Product
    Amount
    Country
    Prd2
    250
    Italy
    Prd3
    250
    Italy
    Create Table:
    Create Table Sample(
    Product varchar(10) Not Null,
    Amount Money null,
    Country null
    Insert Statement:
    Insert into sample (Product,Amount,Country) Values ('Prd1',100,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd2','200,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd3','300,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd4','400,'England')
    Insert into sample (Product,Amount,Country) Values ('Prd5','480,'Canada')
    Insert into sample (Product,Amount,Country) Values ('Prd1','340,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd3','290,'Canada')
    Insert into sample (Product,Amount,Country) Values ('Prd1','125,'England')
    Insert into sample (Product,Amount,Country) Values ('Prd2','250,'Italy')
    Insert into sample (Product,Amount,Country) Values ('Prd3','250,'Italy')
    Thanks in Advance,
    RH
    sql

    Hi sql9,
    According to your description, you have a report with a parameter for selecting countries. Now you need to display records for one country and show the country name on each page. Right?
    For this requirement, we need to add a parent group (Group on Country) so that we can set page break for each country. Also, we want to display the country name on each page. This country name is group name, not the parameter because the parameter contains
    all countries that we have selected. In this scenario, we just need to set the group name as page name, then display the Page Name (Build-in Field) in report header. You case has been tested in our local environment. Here are steps and screenshots for your
    reference:
    1. Create a table in report. Set detail rows group on Country. Set page break between each group instance.
    2. Create a parameter for filtering data. Set Filter on tablix.
    3. Go to Row Groups, select group Country. In Tablix Member Properties grid, go to Group->PageName. Put “=Fields!Country.Value” in expression. 
    4. Create a textbox in report header. Put Page Name (in Build-in Fields) into the textbox.
    5. Save and preview. It looks like below:
    Reference:
    Pagination in Reporting Services (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • How do I include/show data from a child table in a Modal Window?

    How do I show data from a child table in a Modal Window?
    I have an application where each customer might have multiple addresses and phone numbers which are stored in child tables.  When I show the customer in a record on a screen I can place a Modal Window button on the screen which can be pushed at runtime
    to display detail information for the particular customer parent table which works great. However, I would also like to display the data from the address and phone number child tables. Is there a way to do that?  Or can I just launch a hole separate screen
    which would automatically display the needed data for the particular customer? If yes, how? 
    Thank you for any help.

    I am not even sure how to describe my situation in such a way that this forum incident would be of benefit to other people as I think it is fairly unconventional. 
    The “add contactaddress” link does not show up on the right.  
    The contactaddress table is a child of the contact table. 
    The contact table is a child of the contactlink table.
    And the contactlink table is a child of the person table.
    I have it set up this way because the contact in the contact table may be a contact to multiple persons in the person table and I do not want to re-enter the contact info every time the contact is used. 
    In the list detail screen of the person table I can see the contactlink child collection so that I can see the name of the person in the contact table at runtime. However, the contactaddress collection is not related to the person table so it does not show
    up on the right hand side of the design screen as an “add contactaddress”; nor is there “add contact” link.
    What I would like to happen during runtime is that it is not necessary to switch screens from the person list detail screen to a contact list detail screen to see the addresses and phone numbers for the contact.
     Is my setup unnecessarily convoluted? Is there a better way? Please see the two snapshots below.
    Perhaps there is a way to call up a Detail screen from the List Detail at runtime? 
    Anyway, if you are still reading, thank you very much for your help.   
    jjjjj

  • Show all versions of an item in a list view SharePoint 2010

    Hi,
    I created a task list and a view.  The list has a comments field which is set up to append new comments.  In the view, the comments are coming up with a link "View Entries".  How can I get the view to show all of the comments
    for each item in a view.
    For instance, instead of it showing the list item:
    ID  Comments
    1    View Entries...
    it would show:
    ID Comments
    1  Blah
    1  Blah Blah
    1  Blah blah blah
    Thanks,
    Jan

    I handled this a different way, however this will only work for you if you don't have a big list yet.
    1. Create a new field called "Comments Report"
    2. Copy and paste existing comments into that field
    3. Create a workflow in SharePoint Designer on Item Created and Change, under Action "Set Field in Current Item":
    Set [Comments Report] to [%Workflow Context:Current User%] ([%Workflow Context:Date and Time Started%] [%Workflow Context:Date and Time Started%]): [%Current Item:Comments%] </br></br>[Current Item:Comments Report%]
    The first date and time is Short Date, the second is Short Time.  Then hide the Comments Report within the Manage Content Type edit screen by changing it to hidden, and only display the Comments Report field where you want to view it.

  • List data validation failed when creating a new list item but does not fail when editing an existing item

    Dear SharePoint Experts,
    Please help.
    Why does my simple formula work in Excel but not-work in SharePoint?
    Why does this formula...
    =IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE)
    ...work in Excel but fail when I try to use it in SharePoint?
    The intent of this formula is the following...
    If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
    SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
    Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form. 
    Can you help?
    Thanks.
    -- Mark Kamoski

    Dear Jason,
    I appreciate your efforts.
    However, it seems to me that this statement of yours is not correct...
    "If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
    I believe this is NOT the answer for the following reasons.
    When I create a new item and click Save, the validation error is "list data validation failed".
    When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
    I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
    I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
    I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
    good details.
    However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
    SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
    into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
    SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
    available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
    The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
    But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created  with OOTB
    SP 2013. So, in some cases, there is an extra click for the enduser.
    Thanks,
    Mark Kamoski
    -- Mark Kamoski

  • Calendar now splits my entries into 2 separate entries. 1 entry lists date/time/name. The second entry lists notes

    Calendar now splits my entries into 2 separate entries. 1 entry lists date/time/name. The second entry lists notes and alerts. I can delete the date/time one, but not the alert entry. That means I will get all the alerts even if I deleted the original entry. It shows up as two separate entries for each one entry. This happened after the Yosemite install.

    Calendar now splits my entries into 2 separate entries. 1 entry lists date/time/name. The second entry lists notes and alerts. I can delete the date/time one, but not the alert entry. That means I will get all the alerts even if I deleted the original entry. It shows up as two separate entries for each one entry. This happened after the Yosemite install.

Maybe you are looking for