Printing XML Docs in List view created by XF builder

Hi,
I have an iview which displays a list of XML documents created using XMLForms. I want to add Print functionality in this iview. I tried adding a simple HTML link calling window.print() in the <project>RenderListItem.xsl file. It works fine. But the problem is that, the Print link gets displayed for each and every document.
I just want the Print link to be displayed only once. I tried giving the Link outside the <xsl:template match="DataModel"> section. But it threw an error.
Is there any way to display the Print link only once?
Thanks in advance.
Regards
Ranjith

Same Problem here, if you are able to solve it, please also help me.

Similar Messages

  • How do you PRINT a Finder window list view?

    Hello all.
    I think a long time ago in OS9, we can open a new (Finder) Window, switch to 'List' view and print the window, so that we can see all the nested folders, etc.
    Can we/How do we do this in OS X? Can't seem to find a Print command...
    Thanks and cheers

    Press the Shift, Command, and 4 keys, followed by the spacebar, click in the window, open the png on the desktop, and print that.
    (44001)

  • Not to print "No Entry" in list view. How ?

    Hi and sorry if this has been asked before (just couldn't find the thread).
    Printing a list view of a calendar works fine, except iCal prints each and every day ...
    So on some calendars I have endless days with "No Entry".
    Is there a way to tell iCal to just print days with an actual entry ?
    Thanks in advance,
    chris
    Various Powerbooks   Mac OS X (10.4.7)   OS and apps are up to date.

    Not sure if you still need to do this, but I found the best way was to go to Icloud and delete all the completed tasks.  I tried giving non-dated tasks older dates so that they would disappear but it was faulty - some worked, some didn't.  My new plan is to give everything a due date and those that don't get due dates get deleted completely.  Hope this helps.

  • Doc Library List View Row Checkbox Unable to Select or Check

    I have code behind that adds webparts to a page. An example of the code is show below.
    # web is an SPWeb object
    # wpMgr is the web part manager
    # Get the list
    SPList list = web.Lists["Document Library"];
    # Create the list view webpart
    XsltListViewWebPart lvwp = new XsltListViewWebPart()
    ListId = list.ID,
    Title = "Documents",
    ViewGuid = list.DefaultView.ID.ToString(),
    XmlDefinition = list.DefaultView.GetViewXml()
    # Add the list view webpart to the page
    wpMgr.AddWebPart(lvwp, "Main", 0);
    Problem:
    The issue we are having is only with document libraries. When we try to select the document library in the list view by selecting the checkbox, the item appears to be checked, but when you move the cursor away from the row, the checkbox is no longer selected.
    This issue is found in Firefox and IE. I'm getting a js error in the core.js file's CountSelectedItems(a) function, shown below.
    function CountSelectedItems(a) {
    ULSrLq:;
    if(a.CurrentSelectedItems==null) a.CurrentSelectedItems=0;
    return a.CurrentSelectedItems}
    The js error is "Unable to get property 'CurrentSelectedItems' of undefined or null reference". So I read this as the object a being null.
    Workaround:
    If you edit the webpart and click on "OK", it seems to refresh something and this is no longer an issue.
    Solution:
    I've tried the ListViewWebPart as well, but that didn't work for me either. Any advice is greatly appreciated.
    Thanks
    -Gunjan

    We experienced the exact same issue and resolved it by using the code below.
    In short are we trimming the ParameterBinding from White spaces before adding the webpart. After adding the webpart we update an unimportant property and save back the changes. The strange thing is that this code used to work previously before we added the
    "fixup". With this solution you can keep the Group by clause in the CAML Query.
    Please mark as answer if it solves your problem.
    SPLimitedWebPartManager webPartManager = web.GetLimitedWebPartManager(pageUrl, PersonalizationScope.Shared);
    XsltListViewWebPart XsltWebPart = new XsltListViewWebPart();
    SPList list = web.Lists[listName];
    XsltWebPart.ListId = list.ID;
    XsltWebPart.ViewGuid = list.Views[viewName].ID.ToString("B").ToUpperInvariant();
    XsltWebPart.XslLink = XslLinkUrl;
    XElement el = XElement.Parse("<root>" + XsltWebPart.ParameterBindings + "</root>");
    var reader = el.CreateReader();
    reader.MoveToContent();
    string trimmedBindind = reader.ReadInnerXml();
    XsltWebPart.ParameterBindings = trimmedBindind;
    webPartManager.AddWebPart(XsltWebPart, zoneId, zoneIndex);
    int wpIndex = webPartManager.WebParts.IndexOf(XsltWebPart);
    var xwp = (Microsoft.SharePoint.WebPartPages.XsltListViewWebPart) webPartManager.WebParts[wpIndex];
    xwp.ExportMode = WebPartExportMode.All;
    webPartManager.SaveChanges(xwp);

  • Printing issues when printing day, week, and list views

    I'm having problems all of a sudden with printing my iCal. Months print just fine, but when I try to print any other view, it says my paper size is incorrect, to choose another size. Well, I've been through and chosen every size listed, and it still says I have the incorrect paper size.
    Anybody have any experience with this problem?

    racjstevens,
    Welcome to Apple Discussions.
    Try changing your default paper size in System Preferences...>Print & Fax>Printing.
    Is there any reason that you are still using 10.4.1? The current system is 10.4.10.
    Also check this search for other suggestions.
    ;~)

  • Printing list view -- only 1 page?

    I've just switched from Windows and Outlook to Mac with iCal and Entourage. When I try to print from iCal in list view so I can see all the info relating to events it won't let me print more than can fit on 1 page (I use A4), limiting me to only a few days whatever I have selected in the date range. Have I missed something or is there a way round this problem?

    Stephen Del wrote:
    When you are proofing a page, you must remember to check the page range button as it defaults to all after each page is printed. How do you change this default? We have printed many copies when we are thinking that only one page will go. We toggle between idd5 and pagemaker 7. When you print a page in pagemaker 7.0 it keeps printing that page until you select another option. We are reluctant to move up because of lack of compatability with our print devices and the ppd's. Thanks
    Perhaps some knows of a script that can do this. Have you tried asking on the InDesign scripting forum?
    Have you considered exporting to PDF, extracting the single pages, printing them from Acrobat or Reader? With full Acrobat, you can create a document from all open PDF files, then you can print that collection of pages from Acrobat. Another approach would be to placed the saved single-page PDFs into a new InDesign file and printing that file.
    Yes, it's extra steps to create one, but if you have many singles to print, collecting them in a file would let you print as many singles as are in your assembled document in one print command.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Printing List View - URL Mailitem Showing Up!

    Hi,
    When I try to Print from iCal using List View, lots of URL code shows up under my To Do Items. Is this normal? For example:
    Buy Black Trainers
    URL: mailitem:12BBAE63-0EFD-43AA-8AEF-A50E33029129?type=todo&action=showparent
    Why on Earth would anyone want that URL address code printed? I'm sure that information is useful to the Mac, but it doesn't make a lot of sense to a regular human being. There seems to be no way of turning it off, other than unticking To Do Items completely.

    Does anyone know if syncing via .Mac will also cause the URLs to show up? None of my to dos have been entered via Mail and yet all but the one I just entered have the offending URLs. Most of the contents of iCal is there via a "Restore iCal..." done as part of a migration to Leopard. I have entered several since then, all via iCal. And, all but the one that I entered just moments ago have the URLs when printed as a list. In terms of .Mac syncing, I only sync iCal and Address book, and the sync is between two Macs running 10.5.1.

  • ICal under 10.5 doesn't print the List view with To Do's correctly.

    The problem is this: I have a bunch of To Do's in iCal. I usually print them out on paper using the LIST VIEW (print dialog) so that I can take my To Do list with me. Unfortunately, after updating to Leopard 10.5, all the URL's in my To Do's have wierd links to my email and print funny code on paper now. It's like the added feature of To Do's in mail has caused something here. Anyone else experiencing this? By this way, this only happens with old to do's (before the upgrade), not new ones.

    John,
    This has happened to me as well. Our school uses phpicalendar to publish lesson plans to our web server. I have had this happen to three other teachers as well. In order to get them back to the correct server I have to export their calendars to the desktop, create a new calendar and publish it to the correct location, then import their calendars from the desktop. I haven't been able to re-enter the correct URL in the existing calendars - get an error when publishing.

  • Order of all day events • printing list view without empty days

    I have only just started to use iCal in a work context. I need to programme over 500 events in several different locations (probably up to 10 locations on one day). I have divided these locations into five regions, and have made a calendar for each region.
    Times are not important - just the dates, so I have been entering these events as all day events. What I would like to be able to do is ensure that in the month view (and particularly the print out) that the events I put in are always ordered in the same order that I have set up the calendars in the sidebar (I would also like more than 4 events displayed per day in the month view, but that's another matter!). I have been looking on these discussion boards and elsewhere on the internet and this appears to be a feature that many users would like implemented.
    I would also then like to be able to print out separate list views for each region (calendar), but missing out the empty days. This also seems to be a feature that is wished for by many users, and has been requested for some time.
    Any news on whether such changes will be made? Come on Apple, I mostly love your hardware and software, but there are quite a few of these little functionality issues scattered around the place.

    In short, no - there is nothing you can do to determine the the display order of a series of all-day events in iCal. While the appear to generally be listed either in the order in which they were created or in the order in which your calendars appear in the left sidebar, even this is not always the case.

  • Address Book Print list view column format

    Is there a way of changing the column width of the List View when printing the contacts in Address Book? I select all contacts, check the boxes for address and notes and send so PDF in Preview. The left hand column (Names) takes nearly half the page width. The center column with all the addresses, e-mails and notes is very narrow, which causes the text to wrap in the middle of the address or e-mail.
    If it can't be changed, does anyone know of an application that will use the address book data and allow me to format pages to my specification?

    Thank you KT. I downloaded the utility and was able to create a tab delimited file from Address Book. I also imported the data into Numbers but I could not produce a report format I wanted. I was afraid I was forced to copy the data into Windows and use one of the many address book formatters.
    I kept searching the web and read about Palm Desktop for Mac but that did not include the Notes field. Last night, I believe I found a reasonable solution, it is called "Address Book Reports" by Scruffy Software. There are choices of format and page size. I will try it out today and if it's OK will send the $15 shareware fee.

  • Cannot create mysites from powershell: Original XSLT List View Web Part not found

    I have a bizarre problem in my SharePoint 2013 farm. This does not occur in my test farm, only in the farm we were going to go live with.
    I'm on windows Server 2012, SQLServer 2012 SP1, SharePoint 2013 April CU. 1 appserver/centraladmin server, 2 web servers.
    When I log into our mysitehost and click newsfeed, it will create a mysite (even though first it displays "we are sorry there was a problem creating your site")
    But from powershell, whether I use $UserProfile.CreatePersonalSite() or New-SPSite, I get the following error:
    Original XSLT List View Web Part not found
    So far I've only found one other person with this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2503e42c-e114-4e89-8e00-89fe70f0b154/cannot-create-sharepoint-mysite-programmatically
    This is a brand new farm, created with the same scripts I created my test farm with, and same version of SharePoint. Only the service accounts are different. (Farm account has admin on the servers right now since I was setting up profile service).
    Some other errors from the same correlation ID that look related:
    It can't seem to find the listemplate 101
    And something looks wrong with the MySiteDocumentLibrary feature
    I have tried the following:
    1. run psconfig.exe on each server
    2. install-spfeature -AllExistingFeatures
    3. looped through the directory under Features and for each called Install-SPFeature $dirname -Force
    4. uninstalled and reinstalled MySiteDocumentLibrary feature
    5. blew away the whole farm (removed all servers from farm, deleted all databases) and recreated it.
    6. tried creating the UPA from the CentralAdmin gui.
    The only real difference I can think of between the working farm and non working farm is, I installed the working farm using RTM, then as they came out added the March PU and April CU. For this farm I installed RTM and March and April, and then ran my build
    farm script.
    I am at a loss. What do I need to do, re-install the binaries? That's all I can think of. What I love is that our test / POC system worked fine, and now 2 weeks before go-live I'm seeing errors on the production servers I've never seen before. Using the
    same scripts no less.
    Feature Activation: Feature 'Fields' (ID: 'ca7bd552-10b1-4563-85b9-5ed1d39c962a') was activated
    Feature Activation: Feature 'CTypes' (ID: '695b6570-a48b-4a8e-8ea5-26ea7fc1d162') was activated
    No document templates uploaded for list "$Resources:core,global_onet_solutiongallery_list;" -- none found for list template "100"
    Failed to find <ListTemplate> tag corresponding to ID "101", tried both onet.xml for site definition ID "0" language "1033" and global site definition. Operation failed.
    No document templates uploaded for list "$Resources:core,stylelibraryList;" -- none found for list template "121".
    System.Runtime.InteropServices.COMException: A user may not remove his or her own account from a site collection.<nativehr>0x81020051</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPUserCollection.UpdateMembers
    Feature Activation: Feature 'MySitePersonalSite' (ID: 'f661430e-c155-438e-a7c6-c68648f1b119') was activated
    Feature Activation: Activating Feature 'MySiteDocumentLibrary'
    Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MySiteDocumentLibrary'
    SharePoint Foundation Upgrade MySiteDocumentLibraryFeatureReceiveraj08n INFO Creating new My Documents library
    Unknown SPRequest error occurred. More information: 0x80070002
    SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://contoso/personal/cbuchholz/DOCUMENTS ,METADATAFLAGS=59
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPWeb.GetObjectForUrl at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.GetSPObjectFromUrl ...
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/personal/cbuchholz/DOCUMENTS"
    Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/personal/cbuchholz/DOCUMENTS"." and the returned error with code 0x80070002.
    Attemping to add webpart id 0F6072F2-E804-4CFD-837E-BB37332B9D1C to web http://contoso/personal/cbuchholz
    Adding XsltListViewWebPart calling SPRequest::CreateListViewPart. Web part id 0F6072F2-E804-4CFD-837E-BB37332B9D1C, web http://contoso/personal/cbuchholz
    Feature receiver assembly 'Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryFeatureReceiver', method 'FeatureActivated' for feature 'e9c0ff81-d821-4771-8b4c-246aa7e5e9eb' threw an exception: System.InvalidOperationException: Original XSLT List View Web Part not found at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.ReplaceListViewWebPart
    Feature Activation: Threw an exception, attempting to roll back. Feature 'MySiteDocumentLibrary'
    Exception in EnsureFeaturesActivatedAtSite: System.InvalidOperationException: Original XSLT List View Web Part not found
    Failed to activate site-collection-scoped features for template 'SPSPERS#2' in site collection 'http://contoso/personal/cbuchholz'
    Failed to apply template "SPSPERS#2" to web at URL "http://contoso/personal/cbuchholz
    I've had other problems in this farm: the bug where when you add Administrators to a Search Service via the Manage Service Applications page, it removes the SPSearchDBAdmin role from the search service process account. That one did not happen in the other farm.
    At least other people have that one and I could just use the farm admin instead (still troublng of course).

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • Suppressing "No Entry" calendar entry when printing in the list view

    How can I go about suppressing the "No Entry" item for a date when printing the whole month in the calendar view? I would prefer to only see printed dates that have an actual entry in them.

    Hi Dwayne,
    In SharePoint 2013, we could manually create a list for all users. Here are the reference:
    Go to Site Settings >  People and Groups > SiteMembers
    Modify url
    http://sitename/_layouts/15/people.aspx?MembershipGroupId=8 to
    http://sp/sites/tutu/_layouts/15/people.aspx?MembershipGroupId=0 , now you will see All people in this site.
    Change the view to List view, and copy the listview id in the url
    http://sitename/_layouts/15/people.aspx?MembershipGroupId=0&View={viewID}
    Go to Settings > List settings, copy the list id in the url
    http://sitename/_layouts/15/listedit.aspx?List=listeid&Source=....
    Now type the address in IE:
    http://sitename/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[LISTID]&View=[VIEWID]&CacheControl , such as
    http://sp/sites/tutu/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=f3958d27-9c2f-4f8d-b221-89466e816667&View=696BFDC5-0C6E-4E27-818F-0E6292A18407&CacheControl=1
    Save the owssvr.jqy from SharePoint site
    Now you could see the file in your desktop with all users, save it as allusers in Excel.
    Then import it to your SharePoint site, add an app > find an app > import spreadsheet
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Printing list view in ical

    I use mail and ical for everything now. Everything is fine except When I want to print the "list view" which shows my “to dos”. It displays the URL the “do to” is attached to in mail. I use notes often in mail and enter to dos in the notes so they will have URL links. The link only becomes a nuisance when I want to print, otherwise it’s very useful.
    Why would the long URL paths display when in print view???!!!!! It doesn’t make any sense.
    Is there anything I can do?
    Thank you

    ecernek,
    There is no event list option on iCal like the one on the iPhone.
    That number means that you have an event invitation. Use iCal>View>Show Notifications to choose what to do with the notification.

  • In Ical, can you print a list view calendar without notes?

    In Ical, can you print a list view calendar without notes?

    cj,
    After selecting Calendar>File>Print...> I am presented with a Print selection pane which offers among other choices, a "List" selection:
    What do you see?

  • How to print list view of Finder window

    I want to print a list of the contents of a disk or a folder, just as I see it in the Finder's list view. How is this done in Tiger? In some older versions of the OS there was a menu command for this operation, something called Print Directory, I think.

    There may be more user-friendly ways of doing this, but here's one way:
    Open Terminal (in the Utilities folder).
    Use "cd" to change directory to the folder you want to print
    eg cd /Users/myuser/Documents
    Use "ls" to list the contents to a file
    ls -al > filelist.txt
    You can then open the filelist.txt file from Finder in TextEdit and print it.
    Matt

Maybe you are looking for

  • Can't sync playlists to iphone, no option

    in itunes under my iphone device under music in top tab, i only have sync voice memos?? where are my options gone for my playlists??? i am going crazy updating eveything. iphone 4 with ios6. itunes10. all has gone to ruin after upgrading iphone softw

  • How do I use Time Machine on my Mac to back up files stored on an AirDisk?

    I have a Macbook Pro 17-inch, Mid 2009, with a 2.8 GHz Intel Core 2 Duo processor. I use an external HDD connected directly to my Mac via FireWire 800 for Time Machine backups. I have an external HDD connected to my Airport Extreme (Gigabit) router t

  • Can't find certain music on Zen Style

    %?Hello! My partner has a Style and whilst most of it works fine, one particular album we have loaded onto it cannot be found when trying to play it on the device. The computer recognises it (both WinAmp and Creative MediaSource Organiser, as well as

  • SNC Mapping

    Hi, I read one statement some where else. The statement is XSLT mapping (e.g. for SNC mappings). Here my question is what is this SNC mapping and how we will do this SNC mapping in SAP XI Thanks Rao

  • Consume Wsrp Portlet Error

    Hi,I am new to webcenter, and my situation is : I develop a very simple bounded task flow(using page fragement) which just shows the employees list and emplee detail info views, nothing special and it works well in the jsf page as region, then I crea