Calendar display item form - wrong value in datetime

Hi,
I've created a new Displayform for a calendar. But it doesn't show the Start- and End-time correctly - not adjusted for local time. The default DisplayForm shows correct time. What am I missing? 
jik

Hi,
For your issue, you can change the format of the Start Time and End Time fields in your custom  DispForm.aspx page(display form), you need to open the DispForm.aspx page via SharePoint Designer 2013,
then find and change the code line from:
<xsl:value-of select="@EventDate" />
to
<xsl:value-of select="ddwrt:FormatDate(string(@EventDate) ,2057 ,'13')"/>
Change the code line from
<xsl:value-of select="@EndDate" />
to
<xsl:value-of select="ddwrt:FormatDate(string(@EndDate) ,2057 ,'13')"/>
Here are two articles about custom date formats in SharePoint XSL, see more below:
http://blogs.msdn.com/b/joshuag/archive/2009/03/25/custom-date-formats-in-sharepoint-xsl.aspx
http://blog.amtopm.be/2011/06/21/format-xslt-date/
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • How to display struts form list values?

    HI,
    How to display struts form list values?
    I am having master and child data.
    I can set list values master and child in action class.
    How to display the master and child data in struts jsp form.
    <logic:iterate id="result" name="listofEmployees" >
    <td ><bean:write name="result" property="id"/></td>
    <td ><bean:write name="result" property="name"/></td>
    <td > <bean:write name="result" property="list"/>  </td>
    </tr>
    </logic:iterate>Here I am displaying master data succesfully.
    How to iterate values of <td ><bean:write name="result" property="list"/></td>in action class i added bean class to this list.
    how to iterate this list with java bean and display my child data
    Thanks
    sai

    Struts 1 or 2?
    I guess 2 'cause you're just talking about Action, without mentioning the Form.
    In STRUTS 1 it goes like this: forward to the page and use logic:iterate tag. Don't know about STRUTS 2, but It shouldn't be too different.
    bye.

  • DVWP with Multiple Item Form duplicates values on the screen on new item

    Hello,
    I have created a custom page in SPD called Submit.aspx. I have 3 custom lists (A,B and C). On that page I have two list webparts (from list A and B) and one multiple item form DVWP (list C). I have edited the list webparts to display the Add new item link only.
    Sometimes when a user adds a new item numerical values are duplicated on the screen from the item below (see the screenshot). It happens only on the screen. When a user saves the form or refreshes it the values disappear. How can I fix this to not duplicate
    the values when a new item is created. Projects on the list are sorted alphabetically. The item before the last one on the screenshot is the new item that has identical values as the last item. On save or refresh duplicate values
    disappear from a new item.

    Hi LetMe, it would be difficult for anyone to help you with the amount of customization you've done, unless you provide the code for us to check.
    cameron rautmann

  • Full Calendar display on form

     

    Vedant wrote:
    Hi,
    Full year calendar display is my project requirement . Basically what i have to do is full year calendar display on the page and when i click on any date of the month,Opportunities corresponding to that date will display as a report on next page. This is my project requirement.
    Thanks & Regards
    VedantYou can use the built-in jquery with some custom code and achieve this
    1. Create a empty div on your page:
    <div id="fullyear"></div>2. Create a text field lets say P1_DATE
    3. Add the below code to page header > JavaScript
    $(function() {
        $("#fullyear").datepicker({
          numberOfMonths: [3,4],
          //you can set the year using page item for example replace 2013 with &PX_ITEM.
          defaultDate: new Date(2013, 1 - 1, 1),
          onSelect: function(date) {
                //on select populate date into a page item
                $s('P1_DATE',date);
                //submit page
                apex.submit({request:"ANY_REQUEST",showWait: true});
    });http://apex.oracle.com/pls/apex/f?p=46417:46

  • Webi displays null and wrong values after BW upgraded to SP6

    Hi,
    Webi report retrieves blank values after BW Backend upgraded to SP6.
    We were on SAP EHP 1 for SAP Net Weaver 7.0 and SP4. On the BO side we are on BO XI R/3 FP 2.1.
              Once we add new filters to a simple webi query the webi displays the null values for the characteristics which already exist in the report and more ever wrong values displayed for few columns. We have checked the MDX query in BW by using 'MDXTEST' and the results are good.
            It looks like that it is a rendering issue in Webi side and exactly no idea...
    Can anybody know how to fix the issue or any SAP notes exists for resolving this?
    Thank you,
    Regards,
    Satya

    Hi Ingo,
    We are also facing the same issue that satya is facing.
    We have developed the reports in BO XI 3.1 SP2 FP2.1 and SAP BW 7.01 EHP1 which was running correctly and showing the right result.
    But we upgraded the BW system to SAP BW 7.01 SP6 and check the WebI reports which was showing the unexpected results. ( instead of n rows it shows only 1 row for any query without dimension values)
    So we upgraded the BO sys to BO XI 3.1 SP2 FP 2.6 and checked the result but no luck with that also.
    The workaround i found is i must need to add the Node objects from the universe in the Query which are also used in the query filter of Web Intelligence. But this is not reliable as we need to change all the developed queries.
    We have also tried to perform the things shown in the notes but no MDX trace is enabling.
    Please let me know if there is any other solution.

  • FMS to Display Item group UDF value

    Hi,
    I have created Title level udf named U_WP in the item group table. Each group wise i have entered diferent values in this field.
    I have created one more title level UDF in item master by same name U_WP.
    I want FMS to select the UDF value from U_WP in OITB to be displayed in U_WP in OITM when when ever user select the
    respective item group in item master while adding new code.
    swap

    Hi Swap,
    I've tested the query below and it should give you what you need:
    SELECT T0.\[U_WP\] FROM OITB T0 WHERE T0.\[ItmsGrpCod\] = $\[$-39.0\]
    A couple of things, make sure both the Item Group UDF and Item UDF are setup as the same structure (type and length).
    Set the formatted search on the Item UDF so that it refreshes when the Item Group changes.
    That should give you what you need.
    Regards,
    Adrian

  • Multi-Line Display Item

    I need to populate a multi-line display item in Forms 6i.
    The problem that I am having is the actual assignment to the display item.
    For example:
    :DISPLAY_ITEM := '10';
    :DISPLAY_ITEM := '11';
    This makes the display item show the value '11' only.
    I need '10' on the first line and '11' on the second line, etc.
    Thanks in advance,
    Patrick

    well, you can write:
    go_block('BL_BLK');
    first_record;
    :display_item:=10;
    next_record;
    :display_item:=11;
    but for this- 1. block should have one navigable item. 2. display_item should not be the first item of the block.
    Otherwise you will need to create a non-databse text_item with width 0 on the canvas for that block.
    Hope this helps.
    Regards
    Mona

  • Displaying item value on basis of pop up lov value

    Hi ,
    I have created a form on which i have a pop up lov item whose values are getting displayed on basis of a table column.Now my requirement is that when a user select a value(for ex: say an code i.e 123) from pop up lov then on basis of this value an another value pops up which shows the description related to this code.I have this description in another column of same table from which i have displayed pop up lov values.
    I tried to implement this by creating a display only item on form and taking source value of this item from sql query returning single value as code is primary key but I am unable to fetch value.I have written the following query:
    select model_code from BL_VEHICLE_ENGINE_NAME where catalog_code=:p9_catalog_code
    Here p9_catalog_code is the item displaying pop up lov.
    when i am specifying a particular value rather than bind value as (select model_code from BL_VEHICLE_ENGINE_NAME where catalog_code=123) then the description corresponding to this value is getting displayed through display only item.
    How can i fetch value from pop up lov and utilize that value to display required description.Is displaying description through display only item correct or is there any other way around through which this description could be displayed more effectively.
    Thanks
    Abhi

    Hi Abhi,
    Instead of pop up lov you can use cascade lov ie when u have data like say if u select code from ur table 123 and it has more than one description then u can use cascade lov it will query upon the first lov what u required.
    Or coming to ur problem
    for code pageitem say p1_code u are using pop lov (you can try select list instead of pop up lov )
    and for description u r using display column.
    and give the source as return single query only
    select descp from table where code=:P1code.
    Hopes this helps you
    Thanks & Regards
    Srikkanth.M

  • Why cannot I use hidden or display only item to store value for insert?

    hi, Gurus:
    I have a question:
    I implemented a form with report region in a page, the update works OK, but the add function has a problem:
    There is a column, offender_ID, which is a foreign key for another table, it should not be null during insert. However, even I pass the offender ID from master page when user click the create button, and it did shows in the form, it must be a text filed to insert successfully, why cannot I use hidden or display only item to store this value for insert? (If I use hidden or display only item, insert won't be successful, apex reports I tried to insert a null value to offender_ID column.)
    Many Thanks in advance.
    Sam

    Hi,
    There is a column, offender_ID, which is a foreign key for another table, it should not be null during insert. However, even I pass the offender ID from master page when user click the create button, and it did shows in the form, it must be a text filed to insert successfully, why cannot I use hidden or display only item to store this value for insert? (If I use hidden or display only item, insert won't be successful, apex reports I tried to insert a null value to offender_ID column.)I think both hidden and display items have attributes that can cause problems because of different ways these items function than non-hidden and non-display-only items function. Display Only items have a "Setting" of "Save Session State" Yes/No? That can be a problem.
    Would you do this? Make these items regular items instead and see if you can get those working. Then, we will try to change the fields back to hidden or display only.
    Howard
    Congratulations. Glad you found the solution.
    Edited by: Howard (... in Training) on Apr 11, 2013 10:26 AM

  • Need to raise an error if Users puts wrong value for date datatype in Forms

    Hi all,
    I've created a new form using Template.fmb in forms 10g having some text item with data type as DATE.
    and now i wanted to raise an error if users inputs any wrong data rather than DATE format.
    Please help me if anyone knows how to do this...

    b_kapsy wrote:
    As of now i am not looking for validation, i know the validation will automatically done but if you see by default it will not raise any error message if you fill any wrong value in text item with date data type. It will freeze the cursor to the text item.That is NOT the default. The default is to issue various FRM-nnnnn messages, between 50002 and 50026. From notes I have:
    -- 50002: Month must be between 1 and 12.
    -- 50003: Year must be 00-99 or 1000-4712
    -- 50004: Day must be between 1 and last of month.
    -- 50012: Date must be entered in a format like <fxMMDDRR>
    -- 50017,18,19: Hour,Min,Sec must be between 0 and 23,59,59.
    -- 50025: Date/time must be entered in a format like <xxyytttt>
    -- 50026: same as 50012 and 50025 with <yyyy> year.
    And from my old, dusty copy of the Oracle Developer/2000 "Messages and Codes Manual", those messages have an error level = 15.
    If you are not seeing those messages, then you have done one of two things:
    1. Set your System.Message_Level to a value of 15 or higher. You should NEVER set it above zero, since all that does is hides error messages like these. If you want to bypass or prevent an error message, it should be handled in the Re: FRM-40735:Pre_Insert trigger raised unhandled exception ORA-20011.
    2. You have some bad code in an On-Error trigger that fails to handle errors correctly.

  • Get previous items unique value in new add item form

    Hi
    I have on list having items related to multiple locations.
    Every location is related to one user.
    When user logs in it filters the list with that users location.
    Now when user click on add new item I want to get the data related to his location using item event listener.
    But in new item form there is no way to get the location of that user in event listener as its new item.
    So I passed the qury string parameter form list and changed the add item form link and form to get the query string paramter as default value in Add new Item form.
    But again when user clicks on save button it redirects to original url without paramter. 
    How to redirect user to url with parameter on click on Save/Cancel.
    Is there any other way to get the previous item unique value in add new item from before executing the event listener?

    Hi,
    According to your post, my understanding is that you wanted to redirect user to url with parameter on click on Save/Cancel.
    You need to modify the onclick event need to as below:
    javascript: {{ddwrt:GenFireServerEvent('__redirect={{Home.aspx?Participant={@Participant}&amp;@Activity={@Activity}}}')}}
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/b506cfe5-650e-4017-b470-9ca0a75cd390/sharepoint-2010-list-how-to-pass-parameters-in-a-url-to-another-page?forum=sharepointcustomizationprevious
    In addition, you can creating an intermediate page which just finds the filed value with a DVWP and then redirect to RedirectURL with the filed value on the Query String.
    For more information, you can refer to:
    Redirect to Another Page from NewForm.aspx with the New Item’s ID
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How can I display more than one value in Calendar ?

    Hi,
    the standard (example) script allows for the display of one value only (as I understood). How can I display two or three values, from the very same table ? Students of mine during an HTMLDB workshop in Leipzig did ask that question.
    Do we have a more detailed docum. on the use of the calendar ?
    pls kindly advise. TIA.
    Bernhard

    my solution:
    Source fo the calendar starts:
    snip>
    declare
    q varchar(32767) := null;
    begin
    q := 'select "ETA", <--- Date Field and concatination of fields as follows:
    "SCHIFFSNAME"|| "ETA_TIME"|| "TERMINAL"||''(br*)'',
    null,
    null,
    null,
    null
    from "#OWNER#"."SCHEDULE"'; . . . . . . .
    snip>
    comment on (br*) - you have to use "<" and ">" instead of "( " and ")" to have the "break/new line effect"
    brgds
    Bernhard

  • How to Display Parent Form Values in Child Form

    Hi,
    I have Order Page and Item Page
    In the order Page If I select any Item and click on Submit Button, It should open Item Page and results should display in advance table region. In my Item page i have header region(Default double) with 3 fields (dummy) like
    Item
    Description
    org
    Now my question is I need to display the Item Value in the Item Page Header region in the Item Column which I was selecting in the Order Page.
    I have an order 100 with item A, B , C I select B and click on submit It should open Item Page and in items page i have a column called Item and the value B sholud be populated.
    Thanks,
    Mahesh

    Hello Ajay,
    Thanks for your reply..
    What Iam doing is Iam capturin the values in session variables like below when submit button is clicked
    pageContext.putSessionValue("SItemNo",ItemNo);
    And when my item page is opening I need to set this value to that VO Attribute..
    Iam trying the below way to set the attr value in PR
    String SItemNo=(String) pageContext.getSessionValue("SItemNo");
    OAMessageTextInputBean oa = (OAMessageTextInputBean)webBean.findChildRecursive("ItemNo");
    oa.setAttributeValue(SItemNo);
    But it is giving compilation error
    Error(35,9): method setAttributeValue(java.lang.String) not found in class oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean
    Please correct me ajay.
    Thanks,

  • Wrong value with calculated item in pivot table

    I have a report with 4 columns:
    First Column are Department Dimension
    Second Column is Actual value
    Third Column is Previous value
    Four Column is: ((Actual Value-Previous Value)/Previous Value))*100 that called Var
    Then I do a pivot table and I have new calculated item: Department1/Department2 and I have wrong value in four column:
    Department----------------------------------Actual-------Previous------Var
    Dept1------------------------------------------18503--------16308--------13,5
    Dept2-------------------------------------------3758---------3518----------6,8
    (Calculated Item: Dept1/Dept2)--------4,92---------4,64------------*2* <---- This value is wrong...and it has to be: 6,03
    Is possible to get the correct value???
    Thank you very much!

    hi,
    Create a logical column with ur calculation formula and make it as default agg rule in rpd and answers change it to server determined/server complex agg.I did the same it was working fine for me!!
    Check this link
    http://books.google.com/books?id=OnbYrkWa4RsC&pg=PA74&lpg=PA74&dq=%22server+complex+aggregate%22&source=web&ots=qxrpaFXmo2&sig=CxLOemzcOlvIiaQ_sQD4fPQotdM&hl=en&sa=X&oi=book_result&resnum=5&ct=result#v=onepage&q=%22server%20complex%20aggregate%22&f=false
    thanks,
    saichand

  • How can I display more than one value in Calendar ? (2)

    Hi,
    I came across the "Calendar - Activity Monitor by month" in the HTMLDB admin section. This is exactly the view I like to develop asked earlier (the proposal was to work with concatination of fields). Can you provide for the source code used for the a.m. calendar displaying four columns per day ? TIA - Bernhard

    if you're talking about the "Calendar of Views by Day" available in the administration section of any workspace (HTML DB Home >> Administration >> Monitor >> Calendar of Views by Day) or the "Calendar of Page Views" in the instance administration interface (HTML DB Administration >> Monitoring >> Calendar of Page Views), they're both implemented as htmldb calendar regions where the multiple values displayed per day are concatenated together with '
    ' strings between them.
    hope this helps,
    raj

Maybe you are looking for