Display "modified by" and "modified date" on sharepoint wiki pages.

Hi there,
I want to display "modified by" and "modified date" on sharepoint wiki pages as a footer note.
I googled about it and I got the following code which I have inserted in my master page(Since I want to display on 2400 pages).
<%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<SharePointWebControls:DateTimeField FieldName="Modified" runat="server" ControlMode="Display"/>by
<SharePointWebControls:UserField FieldName="Modified By" runat="server" ControlMode="Display" />
It is working but last modifed user and date and time is visible only till page loads.
After page is loaded completely it dissappears.. Am I missing something??
Many thanks in advance..

Sabiha,
Try these links,
http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
http://blogs.msdn.com/b/kaevans/archive/2011/07/07/modifying-the-page-layout-for-enterprise-wiki-pages-in-sharepoint-2010.aspx
https://social.technet.microsoft.com/Forums/en-US/64f6006a-73c5-4c8e-a552-896df8e22af1/show-wiki-page-library-columns-on-wiki-pages-sharepoint-2010
Hope it will be helpful
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • To display "modified" by and "modifed date" and the end of every sharepoint page

    Hi there,
    I want to display
    "modified" by and "modifed date" and the end of every sharepoint page and I have as many as 2000 pages
    I have the code for it as below which I have placed in my master page
    <SharePointWebControls:DateTimeField FieldName="Modified" EnableViewState="true" Visible="true" runat="server" ControlMode="Display"/>by
    <SharePointWebControls:UserField FieldName="Modified By" Visible="true" runat="server" ControlMode="Display"/>
    The problem is I am not understanding under which div should I place it to be able to see it at the end of the page.
    Please suggest.

    Hi,
    According to your description, my understanding is that you want to insert the two fields at the end of the page by inserting the corresponding controls into the master
    page.
    The figure below will show how to insert code into master page:
    At the end of the page, it will be:
    Thanks,
    Dean Wang

  • How to display the username and current date in OAF  page Footer region

    Hi,
    I need to display the username and Current-Date in footer region.If anybody knows the procedure then please share with me.
    Thanks
    Divya Agarwal

    Hi,
    Read this Thread:--
    You have to capture the UserName and Date in the Process Request Method of page Controller and invoke a method which will subsequently get and set the value in some attribute.
    String userName = pageContext.getUserName();
    How to populate Current Date and Time in OAF page through CO
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do i save a calender i have created with the photo and the dates saved on separate pages?

    how do i save a calender i have created in photoshop with the photo and the dates saved as two separate pages?  when i save as pdf or jpeg they are authomatically saving 1 pg with the photo and dates on one page.  This is causing problems when i print.

    Hi there, in case your printer cannot print very large, you can also crop down two versions and print them as separate documents.
    1) Create a guide where you would like to split the pages by clicking on the ruler (hit command R if they are not showing) and dragging to the desired area.
    Creating the guide will make it so you can be precise in the way you split up your page, and so that no part of the image will be repeated or lost.
    2) Select the Crop Tool and fit the crop area to the top half of your calendar, using the guide you've just made to snap to the right spot. Hit return to finalize the crop.
    3) Go to File > Save As. Name the file something like calendar_top and select the desired file format. Hit "Save."
    4) Once you get back to your calendar file, Go to the History panel and select "Drag Guide." This will take you back to the step before you cropped the image.
    5) Repeat the steps as before for the bottom half of the calendar, once again using the guide to help you make your crop area.
    So then you would just print each of the two pages individually. The images will not be contained within one document, but if you have Acrobat you could combine the files.
    I hope this helps!

  • How to receive and upload data into Sharepoint using webservice in BizTalk (without using sharepoint adapter).

    Hi,
    I have a requirement to receive files from sharepoint and upload files to share point.
    So is there anyway we can achive this using webservices in BizTalk (without using sharepoint adapter)
    Thanks in advace

    I do not have a sample flow... but if you refer to the samples where these web services are used then you'd be able to translate those code samples into BizTalk flows.. For e.g.:
    http://msdn.microsoft.com/en-us/library/office/ms429658(v=office.14).aspx refers to returning list items. When you add generated items to your BizTalk for SharePoint Web Services, you'd get the schemas (xmlDocs in the sample) which you'd instantiate and
    call.
    When dealing with lists, you will need the GUID of the list so you need to do a GetLists call first and then get the GUID for your specific list from that. You will also encounter CAML which is what is used to query and get List Data.
    Have fun.
    Regards.

  • Range chart to display timeline (start and end dates) side by side

    Hi everyone,
    I've explained my scenario in the image below. I'm using SQL Server 2008 R2 BIDS to accomplish this. Can someone help me or shed some light to get this going?

    Hi crmsurfer,
    If there are only those three fields in the database, the first question couldn’t be solved as per my understanding. As to other questions, we can use the following method to fix them.
    Click the StartDate value in the Values pane, set DrawSideBySide property to False under the CustomAttributes section in the Properties Windows. Then the two ranges in same group can be stay in the same level.
    Right-click the StartDate1 value in the Values pane, modify the top and bottom values as below:
    Top value: =IIF(Fields!Start_Date.Value=Last(Fields!Start_Date.Value),NOTHING,Last(Fields!Start_Date.Value))
    Bottom value: =IIF(Fields!End_Date.Value=LAST(Fields!End_Date.Value),NOTHING,LAST(Fields!End_Date.Value))
    Then it can fix the second issue you occurred.
    If there is another field named task in the database, then we can refer to the following steps to achieve your all requirement:
    Add Start_Date field in the Values pane as below:
    Top value: [Start_Date]               Bottom value: [End_Date]
    Add Name field to Category Groups pane.
    Add task field to Category Groups pane.
    Click the Start_Date value in the Values pane, set DrawSideBySide property to False under the CustomAttributes section in the Properties Windows.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • On excel sheet upload read the workbook and populate data to sharepoint list

    Requirement in my current project:
    In a document library when I upload an excel sheet, a specific workbook has to be read and the contents have to be uploaded to a sharepoint custom list.
    The approach followed was create an event receiver and register as a feature. Following is the code for event receiver.
    public override void ItemAdded(SPItemEventProperties properties)
                base.ItemAdded(properties);
                var list = getSPList("{150301BF-D0BD-452C-90D7-2D6CD082A247}");          
                SPListItem doc = properties.ListItem;
                doc["Msg"] = "items deleted from req list";
                doc.Update();
                string excelname=doc.File.Name;
                System.Diagnostics.EventLog.WriteEntry("ExcelUpload", "calling read excel");
                string filepath = doc.File.Url.ToString();
                doc["Msg"] = "excel name" + excelname + filepath;
                doc.Update();
                readExcel(excelname,filepath);
            private static SPList getSPList(String SPListGuid)
               // SPSite Site = SPContext.Current.Site;
                SPSite Site = new SPSite("http://omistestsrv:32252/sites/OMD");
                SPWeb web = Site.OpenWeb();
                Guid listid = new Guid(SPListGuid);
                web.AllowUnsafeUpdates = true;
                SPList List = web.Lists[listid];
                return List;
            private void readExcel(string excelname,string filepath)
                try
                    SPSecurity.RunWithElevatedPrivileges(delegate()
                        using (SPSite Site = new SPSite("http://omistestsrv:32252/sites/OMD"))
                            SPWeb web = Site.OpenWeb();
                            string workbookpath = web.Url + "/" + filepath;
                            web.AllowUnsafeUpdates = true;
                            var _excelApp = new Microsoft.Office.Interop.Excel.Application();
                            System.Diagnostics.EventLog.WriteEntry("ExcelUpload", "iside read excel");
        //my code breaks or fails when cursor reaches this statement. I am not able to open the excel sheet, there is no    //problem related to the permission. same code snippet works in a console application. but when tried as an
    event    //handler in sharepoint it breaks. can anyone help me to resolve the problem
                            workBook = _excelApp.Workbooks.Open(workbookpath, Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing,
    Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing);
                            System.Diagnostics.EventLog.WriteEntry("ExcelUpload", "after excel open");
                                int numSheets = workBook.Sheets.Count;
                                // Iterate through the sheets. They are indexed starting at 1.
                                System.Diagnostics.EventLog.WriteEntry("ExcelUpload", numSheets.ToString());
                                for (int sheetNum = 12; sheetNum < 13; sheetNum++)
                                    System.Diagnostics.EventLog.WriteEntry("ExcelUpload", "inside first for
    loop");
                                    Worksheet sheet = (Microsoft.Office.Interop.Excel.Worksheet)workBook.Sheets[sheetNum];
                                    Microsoft.Office.Interop.Excel.Range excelRange = sheet.get_Range("A13",
    "P89") as Microsoft.Office.Interop.Excel.Range;
                                    object[,] valueArray = (object[,])excelRange.get_Value(
                                        Microsoft.Office.Interop.Excel.XlRangeValueDataType.xlRangeValueDefault);
                                    var list = getSPList("{150301BF-D0BD-452C-90D7-2D6CD082A247}");
                                    for (int L = 1; L <= excelRange.Rows.Count; L++)
                                        string stringVal = valueArray[L, 1] as string;
                                        if ((valueArray[L, 1] != null) && (!string.IsNullOrEmpty(stringVal)))
                                            System.Diagnostics.EventLog.WriteEntry("ExcelUpload",
    "inside second for loop");
                                            SPListItemCollection
    listItems = list.Items;
                                            SPListItem item = listItems.Add();
                                            item["Product"] = valueArray[L,
    1];
                                            item["App"] = valueArray[L,
    2];
                                            web.AllowUnsafeUpdates
    = true;
                                            item.Update();
                                web.AllowUnsafeUpdates = false;
                                //Or Another Method with valueArray Object like "ProcessObjects(valueArray);"
                                _excelApp.Workbooks.Close();
                    //workBook.Close(false, excelname, null);
                    //Marshal.ReleaseComObject(workBook);
                catch (Exception e)
                    System.Diagnostics.EventLog.WriteEntry("ExcelUpload", e.Message.ToString());
                finally
                    System.Diagnostics.EventLog.WriteEntry("ExcelUpload", "finally block");
    Is this the only approach to meet this requirement or is there any other way to crack it. sharepoint techies please help me.

    as you described the scenario of the event that it should happen when user upload excel to a document library. Event Receiver is your best bet. However if you would have a requirement that users can send excel files any time to a network file location and
    you want to pick it, read it and create list items etc. You would write a sharepoint timer job that would run every 10 minute to check for file and if available on the network drive, perform the operation etc. so that users who send excel file does not need
    to come to the sharepoint etc. You can see that you have Event Receivcer option or Timer job option OR you would write a console application to trigger the code at a scheduled time on sharepoint server etc. so you are using the event receiver in the correct
    scenario.
    Moonis Tahir MVP, MCPD, MCSD.net, MCTS BizTalk 2006/SQL 2005/SharePoint Server 2007 (Dev & Config)

  • Configure usage and health data collection sharepoint 2013

    Hi,
    I get the below error,, having checked online some seemed to suggest its related to permissions so I have given full rights to the directory to my admin account and also to IIS_ISURS accounts, any help would be appriciated.
    Sorry,
    something went wrong
    An error occurred during the
    compilation of the requested file, or one of its dependencies. Could not write
    to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary
    ASP.NET
    Files\root\180391dd\9373b6cd\App_Web_logusage.aspx.76acb6ce.l76xgmf4.dll' --
    'The directory name is invalid.

    Hi AG9,
    Please try disabling loopback check on your SharePoint servers, then check results again.
    See more information from below.
    http://blogs.technet.com/b/praveenh/archive/2013/04/30/sorry-something-went-wrong-error-message-when-users-try-to-navigate-to-site-collection-features-page.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Adding or Displaying Site Actions Gear Icon Using Custom SharePoint Master Page

    I am using a custom Master Page within my SharePoint Site in SharePoint 2013 Site. In the top right corner the Gear Icon is not displaying. But when I hover on it the place holder work and when I click on it the menu is displaying correctly.
    Now I want it to display that gear icon using my custom master page.
    So how can I do that? Could someone help me to solve this?
    Thanks and regards, Chiranthaka

    Hi,
    From your description, my understanding is that you customize a master page in SharePoint 2013, and you want to display the gear icon.
    I wonder if just this site cannot display the icon or each site cannot display the icon in your farm? To resolve your issue, you could check these points in your environment:
    Compare current site code to other site in file seattle.master. you could find code by these steps: search code with keywords [id="siteactiontd"] in seattle.master -> compare code between tags [<SharePoint:SiteActions></SharePoint:SiteActions>].
    Then check if the URL of the gear icon is correct or not as the screenshot below.
    Please check if there are some CSS code may hide your gear icon in you custom Master Page.
    If each site cannot display the icon, you could check if the file spcommon.png(path:..\ 15\TEMPLATE\IMAGES) is missing or not.
    In addition, you could debug your code with pressing F12 to open developer tool in IE.
    Best Regards,
    Vincent Han
    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]

  • Validate and Save data of the current page when tab changing

    Hi,
    Using APEX version 2.2
    We have a multi tab chain form, which each page / tab references a different table. Seperately, when each form is saved, the data is validated and committed to the database.
    The business requirement is to be able to enter data on a form, and then click on another tab, and the page is "validated" and saved, and then the tabbed page is then shown.
    From what I have seen on the forums, pressing a tab, will not validate and process the original form, only perform the page rendering processes.
    I have read the forum thread Re: Navigating to non-current pages for a tab - but have not seen how this works? Is there some dialog missing?
    What we would like to do is call the tab as per usual;
    javascipt:dosubmit('T_PAGE_6');
    But also add the save validation first;
    javascipt:dosubmit('SAVE'); javascipt:dosubmit('T_PAGE_6');
    This would allow the full form validation
    Is this part configurable? otherwise is there anothe solution we can use?
    Thanks
    Jon

    Jon, You essentially want your standard tabs to do nothing but act as buttons. If you can adjust the templates to make those "buttons" look like tabs, you'll have what you need.
    Others will have to advise on how to do that, though.
    Scott

  • Can I display the PDFs and Authors on my iTunes Books page as list, not icons?

    On the Books page of iTunes, the titles under PDFs and Authors display as Thumbnail icons.  Can I display them as a list of titles instead of icons?

    +"When i check the files on my computer it is still there, yet it is not in the library."+
    Putting the files on your computer does not cause them to be added to the library. To add them, use the command File > Add Folder to Library, and point it to My Music or whatever folder(s) all the music is in.

  • Query to find universe modified date and modified by

    Hi,
      Is there a way we can query to find universe last modified by and modified date?.
    I was not able to find a field to pull "modified by" info.
    Thanks

    Sreedhar,
    I'm not exactly sure how you're going to get from Point "A" to Point "B", but here are the two points:
    a) using QB you can perform a search as was specified in my last posting, which you point out only provides "owner"
    b) if you have the Auditor portion running, then in the Audit_Detail table is the column "Detail_Type_ID" and each time a universe is accessed a code "2" is recorded and Detail_Text is loaded with the Universe name.  If you join the Audit_Detail table to the Audit_Event table on Event_ID, then you'll have access to User_name and Start_Timestamp, which will show you who and when a Universe was accessed.
    Thanks,
    John

  • Diffreence Between Master Data and Transcation Data

    Hello Friends,
    What is the Difference Between Master Data and Transcation Data.
    i know only one differnece,,ie,,
    Transcation data modified frequently and Master data are not modified frequently..
    can any one tell the other difference..

    hi check this..
    MASTER DATA=>
    Master data are distributed throughout the company, they are often not standardised and often redundant. As a result it is very costly to offer efficient customer service, keep track of supply chains and make strategic decisions. With SAP Master Data Management (SAP MDM) these important business data from across the company can be brought together, harmonised and made accessible to all staff and business partners. As a key component of SAP NetWeaver, SAP MDM ensures data integrity via all IT systems.
    Regardless of the industry, companies often work with different ERP and Legacy systems. The result: the business processes are based on information about customers, partners and products which is displayed in different ways in the systems. If the data are recorded manually, there are more inconsistencies: some data sets are entered several times, others cannot be retrieved by all divisions of the company.
    As corporate applications are becoming increasingly complex and produce ever greater amounts of data, the problem is intensified further. Nevertheless, your employees must work with the inconsistent data and make decisions on this basis. The lack of standardised master data easily leads to wrong decisions, which restrict efficiency and threaten customer satisfaction and profitability.
    In a word: in order to save costs and ensure your company’s success it is necessary to consolidate master data about customers, partners and products, make them available to all employees beyond system boundaries and use attributes valid company-wide for the purpose of description.
    TRANSACTION DATA=>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/193e4045796913e10000000a1550b0/content.htm
    regards,
    venkat

  • Display wikipage(default.aspx) in mobile view sharepoint 2010 foundation sp2

    Recently I deployed a site using sharepoint foundation 2010 sp2.
    The site has anonymous access to entire site. I developed some wiki pages using wikipage library. it's looking fine in desktop ,laptop,ipad,tab's.
    But coming to mobile view the wikipages are not displaying. But I want to show the wiki page's in mobile view also.
    So is there any setting required to set up for that? SP 2010 Foundation SP2

    Hi  ,
    According to your description, my understanding is that you want to display wikipage in mobile view for SharePoint 2010 foundation sp2.
    How about append "?Mobile=1" to the end of the URL of the home page using Internet Explorer? If cannot access, you need to enable the legacy MobileRedirection feature. This feature is enabled with a SharePoint
    Management Shell cmdlet:
    Enable-SPFeature –identity “MobileRedirection” –URL http://Server/SiteURL
    Correspondingly, you can force a mobile device to load a nonmobile page by entering the URL of the nonmobile page and appending "?Mobile=0" to the end of the URL.
    Reference:
    http://msdn.microsoft.com/en-us/library/office/ms462572(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ms441925(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ff407400(v=office.14).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Creation and Change Date for Tcode and Function Groups

    Hello All,
    I need to display the Creation and Change Dates for Custom Tcodes and Function Groups in a Report. Can anyone please let me know the logic of retrieving it.
    regards,
    Mahesh

    Hi,
    TADIR and TRDIR is the tables where you can find all these data
    Regards
    Sudheer

Maybe you are looking for

  • Firefox unstable with Hot Mail and Windows Live Forum pages

    In URL (1) below, which is the Windows Live Help Forum, the page loads initially but does not complete loading. The tab heading (above the URL), keeps flickering and the page does not finish loading. Impossible to do any editing or making entries bec

  • SAP Query Manager Parameter selection problem

    Experts, Declare @Fromdate datetime Declare @ToDate datetime set @Fromdate =(select MIN(T0.docdate) from OPCH T0 where T0.DocDate >='[%0]') set @Todate =(select Max(T0.docdate) from OPCH T0 where T0.DocDate <='[%1]') select ROW_NUMBER()  OVER (ORDER

  • Installing XML Parser for PL/SQL

    Hi, I have downloaded the plxmlparser_V1_0_1.tar.gz and followed the instruction to install it. The README file said to use the loadjava to upload xmlparserv2.jar and plsql.jar in order. When I tried to load xmlparserv2.jar using the following comman

  • SOA 11g and JMS cannot write to queue

    I have a process which will read from a queue (works fine), but trying to write to a queue never posta a record. I am using the JMS adapter. The write operation in the console shows it was successful . I am using a non-XA data source. the xa worked,

  • Client 3.1.1.15 hangs on startup for about 30 seconds

    we have upgraded to 3.1.1.15 and when we now launch the client it hangs for about 30 seconds-1 minute after launch, i think that it checking for updates bit failing ?? the server has a perfectly good working network connection anyone else seeing this