Override LinkFilename with Title

Dear all,
within the view of a SharePoint 2013 document library, I show these two columns (amongst others):
LinkFilename - "Name (linked to document with edit menu)", e.g. "filename1"
Title, e.g. "This is my title of interest"
I want to replace the text of the LinkFilename column with the value of the title column so that I can remove the title column.
Background:
The filename itself is of no interest for the users, only the title is. But the title has neither a link to the file nor an edit menu.
My Approaches:
When using the following JS using JSLink I managed to replace the text, but also the link to the file was gone (obviously):
(function () {
var overrideNameField = {};
overrideNameField.Templates = {};
overrideNameField.Templates.Fields = {
"LinkFilename": { "View": overrideNameFieldTemplate }
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideNameField);
function overrideNameFieldTemplate(ctx) {
var title = ctx.CurrentItem.Title; ctx.currentItem
return title;
The second approach was overriding the title column with the link to the file.
Unfortunatlely this lead to the issue, that the IE dialogue "Open Document" (How would you like to open this file: Read Only / Edit) did not show up (and all Office files would open in read-only mode).
(function () {
var overrideNameField = {};
overrideNameField.Templates = {};
overrideNameField.Templates.Fields = {
"Title": { "View": overrideNameFieldTemplate }
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideNameField);
function overrideNameFieldTemplate(ctx) {
var title = ctx.CurrentItem.Title;
var fileRef = ctx.CurrentItem["FileRef"];
var fileLeafRef = ctx.CurrentItem["FileLeafRef"];
if (title) {
return "<a href='"+ fileRef + "'>"+ title + "</a>";
else {
return "<a href='"+ fileRef + "'>"+ fileLeafRef + "</a>";
I prefer a solution with JSLink (client-side rendering).
Any help is appreciated.
TIA
Markus
x123cx

Sorry, but in my view, this is not the answer we are looking for. This merely adds the drop-down menu, but what we really want is to make the Title text link to the actual document, just the same as "Name (linked to document
with edit menu)" would.
Clicking a such linked Title should show the question about read-only or edit (checkout):
Adding
ListItemMenu="TRUE"
to the Title does only the bold part of what we want, it adds the
drop-down edit menu. What is still missing is the bold italic
part, the link to the document.
And before anybody posts it, let me state that at least for me (Sharepoint 2010), adding
LinkToItem="TRUE"
does not help, either. And neither does one more property or the combination of both:
LinkToItemAllowed="Required"
We do get the Title linked that way, but what happens on clicking the link is a pop-up:
It gives access to the properties of the document, to version history and check-out, and again to the Name, linked to the actual document.
Clicking that further link, Name, finally opens the document. However, it opens the document forcibly read-only, without the prompt for read-only or edit (checkout). So, this time, the link on Name does not do the same as if we had "Name (linked to
document with edit menu)" directly in the view.
Sorry to be verbous, but it seems needed to make the point clear.
Summary
We would like to have something like "Title (linked to document with edit menu)" similar to the standard "Name (linked to document with edit menu)".
In fact, it should not only work for Title, but for any property, also custom added ones.
The edit menu part can be solved via adding ListItemMenu="TRUE" to Title or custom properties.
The particularly difficult part seems to be a real link to the document, opening the document after showing the prompt for read-only or edit (checkout).
Anybody has a clue?

Similar Messages

  • AS Droplet in XCode - Problem with display dialog with title

    hi,
    i am using XCode to create an AS droplet.
    wondering why i cant set a title to my display dialog code.
    during search in this forum i found this thread:
    http://discussions.apple.com/thread.jspa?messageID=6364939&#6364939
    but to be honest, i didn't expect that i am limited in Xcode too.
    Short code example:
    display dialog "foo"
    works
    but
    this code:
    display dialog "foo" with title "bar"
    not.
    Would be great to find a workaround to get dialogs with titles.
    And on the other hand to understand why i cant use title in Xcode.
    btw: is it possible to format the output of a display dialog ?
    i.e. creating new lines ?
    best regards
    fidel

    Hello
    I'm not sure but you may try 'run script' to invoke 'display dialog' of Standard Additions.
    Something like this.
    --SNIPPET
    set t to "line 1
    line 2
    line 3
    line 4"
    run script "display dialog \"" & t & "\" ¬
    with title \"Testing\" ¬
    buttons {\"OK\"} default button 1"
    --END OF SNIPPET
    As for 'display dialog' in AS Studio, it differs from and overrides 'display dialog' command in Standard Additions. Don't know why it does not have 'with title' which is rather new parameter introduced with AS 1.10 (OSX 10.4).
    cf.
    AppleScript Studio Terminology Reference (pdf)
    Panel Suite > Terminology > Commands > display dialog
    Regards,
    H
    Message was edited by: Hiroto

  • Pasting Attributes with Title 3D? - A follow up inquiry

    Hello All,
    The other day I asked whether it is possible to copy and paste attributes from a text 3D title to another. The answer/solution offered was to take a "master" format, and then change the specific names and titles in each clip.
    I keep thinking about this solution, and it surprises me. In the same way that one can take an Excel spreadsheet and copy the format from one to another, I would think that it would be advantageous (as well as popular) to have such control with titles in FCP.
    I'm not a programmer, so I don't know if this is asking the world. Is it just a feature that hasn't been developed, or is it a complicated function, or do folks simply determine up front what the titles will look like, and if they change their mind, go back and retype all of the information?
    Just curious.
    Thanks.
    DG
    Message was edited by: djonathang

    Title 3D does let you create and save "styles" that you can reuse whenever you choose to do so.
    -DH

  • Now that the photo gallery in MobileMe is ending, is there another photo sharing site to which existing iPhoto albums can be transferred as is, with photos in the same order and with titles, and with minimal problems?

    Now that the photo gallery in MobileMe is ending, is there another photo sharing site to which existing iPhoto albums can be transferred as is, with photos in the same order and with titles, and with minimal problems?

    No. If you don't have the album you originally used to create the galleries you can do so by dragging the photos from each gallery to a new, empty album. Then when you find the photo sharing site/option you have decided on  you can easily upload each album to the site.
    Another option is to obtain a hosting service and create iWeb photo pages for each album and future albums similar to this photo page in one of my demo sites: iPhoto Book as an iWeb Slideshow.  Or you can use the iWeb album page and have an album for each  iPhoto album on it like on this demo page: Page-7 .
    OT

  • Mobil photos album in Photoshop Elements 12 show up in Revel albums with titles but are blank.  No photos!

    I am using Photoshop Elements 12 Organizer for Mac.  I have moved several local albums to the mobil albums area in the left panel of the Org
    anizer screen.  I am signed in to Revel.  The albums with titles show up in Revel, but they are empty.  None of the photos show up.  I can see the photos in the library section of Revel, but not in the album view.  Also, when I try to share the albums with Album Web Share, the link that is generated takes me to the album webpage where I see a message "There are no photos or videos in this album". 
    Why are the albums coming up blank!  What have I down wrong??  I can see the photos in the albums in the Photoshop Organizer window, but nothing in the Revel albums.

    duplicate post
    Please post replies in
    http://forums.adobe.com/thread/1395560?tstart=0

  • Unable to create a complate PDF (with title page, toc, chapter, backmatter, index) from a valid ditamap

    Following is the ditamap i am using to create the PDF. This has booktitle, front matter, toc, chapter and backmatter. I am able to generate a PDF (complete with title page, toc, chapter, backmatter, index) using fop 0.25. However, when I try to create a pdf in FM 9.0, I get only the chapter. How can get the others through FM 9.0. Please provide a solution.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd" [
    <!-- Begin Document Specific Declarations -->
    <?Fm Validation Off?>
    <!-- End Document Specific Declarations -->
    ]>
    <?Fm Condition DITA-Topicref Blue NO_OVERRIDE show?>
    <?Fm Condition FM8_SYSTEM_HIDEELEMENT AsIs NO_OVERRIDE hide?>
    <?Fm Condition FM8_TRACK_CHANGES_ADDED Forest%20Green SINGLE_UNDERLINE show?>
    <?Fm Condition FM8_TRACK_CHANGES_DELETED Red STRIKETHROUGH show?>
    <?Fm BoolCondExpr "" State 0?>
    <?Fm TrackChange Off PreviewState PREVIEW_OFF_TRACK_CHANGE?>
    <bookmap
        xmlns:ditaarch = "http://dita.oasis-open.org/architecture/2005/">
    <booktitle><mainbooktitle>Management</mainbooktitle>
    <booktitlealt>Version 4.0</booktitlealt>
    <booktitlealt></booktitlealt></booktitle>
    <frontmatter><notices></notices>
    <booklists><toc navtitle = "Contents"/></booklists>
    <preface id = "preface">
    <topicref navtitle = "Preface" href = "nm\concepts\nm_Preface.xml"
        type = "concept"><?Fm Condstart DITA-Topicref?><?Fm Condend DITA-Topicref?></topicref></preface></frontmatter>
    <chapter navtitle = "Management" href = "nm.ditamap"
        format = "ditamap" id = "chapter"><?Fm Condstart DITA-Topicref?><?Fm Condend DITA-Topicref?></chapter>
    <backmatter><booklists><indexlist navtitle = "Index"/></booklists></backmatter></bookmap>

    Unfortunately, default FM9 DITA does not support the automatic creation of the special bookmap files (toc, index, etc.). The only way to do it in FM9 is to manually add those generated lists to the book after you've generated it.
    DITA-FMx 1.1 provides the ability to automatically create FM generated lists as well as apply numbering and pagination (and many other properties) automatically when you generate a book from a bookmap. For more info and to download a trial ..
         http://leximation.com/dita-fmx/beta.php
    Cheers,
    ...scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Help please with sound problems with titles in iMovie HD/iDVD

    I find on a DVD I am creating that certain titles produce brief, grating noises when once the DVD is burned.
    I am unable to hear these noises in iMovie HD.
    I have tried re-importing the video and doing all the captions again ~ but the result is always the same: these loud distortions of the audio, but only on a couple of the titles.
    By the way, I have found that by setting the volume to 60% on the regular video and setting it to 140% on the clips with titles, I get a result on the burned DVD where the volume appears constant. I have never understood why putting on a title should diminish the volume: seems like a serious weakness in this software.
    But right now, it's these unwanted noises that are spoiling my project.
    Any answers?
    G4 Quicksilver   Mac OS X (10.4.2)  

    Hi again Sue.
    I've just gone and read that reference.
    No, I've tried extracting the audio and re-doing the title, but when I burn the DVD (and you know how long that takes) I find on playback I have these grating noises.
    I suppose I should be grateful they are only brief and affect only a few of the many titles.
    Thanks though for taking the trouble to try and help.
    Hue in London ['Hugh', 'Hue'... either one's fine!]

  • Help needed with titles in Elements 7.0 - urgent!

    Hey there,
    I believe I have quite a simple task, but I can simply not find it in my Premiere Elements 7.0 options.
    I want a title to pop in, character, by character.
    Not fade in, not fly in, not come from below, nor from above. Simply appear, as if I would use a typewriter. Tack, tack, tack.
    FadeInByCharacters in the Text Animation menu is the closest, but it's still a fade.
    I am looking for it since hours. There must be a way!
    Your help would be greatly greatly appreciated!!

    There are several ways to do what you want.
    First, there are several titler programs, that have 100's of animation Presets built into them. ProDAD's Heroglyph is one.
    However, you can do exactly what you want with Titler, albeit with several steps. The trick is to create the "title" as one Title for each letter. Place thes onto progressively higher Video Tracks, and space them to create the pacing that you need.
    If you have a very long Title, it might be worth investing in Heroglyph, or similar.
    Good luck,
    Hunt

  • Just purchased Adobe Acrobat XI, when i download it and select run a tab appears with title 'Confirm Upgrade of Acrobat Pro' i select continue, another tab apears stating 'Error Encountered' - Acrobat installer encountered and unexpected failure. Please t

    Just purchased Adobe Acrobat XI, when i download it and select run a tab appears with title 'Confirm Upgrade of Acrobat Pro' i select continue, another tab apears stating 'Error Encountered' - Acrobat installer encountered and unexpected failure. Please try again. If it continues to fail contact adobe support. Please assist me asap, i need this working ASAP as i specially purchased for immediate use.. thanks:)

    No, there was no option for enter the serial number, which i gather u mean by S/N?

  • Burning CD's and DVD's with Titles

    How do I burn CD's or DVD's with titles so they're visible on TV playback slideshow?

    You can't do it with iPhoto 4 and with iPhoto 5 the titles are placed partially outside the TV safe area of iDVD. You will have to create the slideshow in iMovie and add the titles via the sub-title capability, making sure you place it well away from the edges (iDVD will not scale and place movies inside the TV safe area as it does stills). There may be a 3rd party app that will do it but I'm not familiar with any.
    OT

  • Printing photos with titles/burning photos with titles to CD

    I have taken photos that show hand positions for particular physical treatments and wish to print them with their titles so that I can remember what is what when I look at the photos in my notebook. Likewise, I would like to burn the photos WITH THEIR TITLES to CD so that I can share them with my classmates and have the photos make sense. Is there anyway to do this with iPhoto?

    Janel
    Burning with Titles is easy: File -> Export. In the resulting dialogue choose Use Title under the Name panel. Export the files to a folder on the desktop, then burn that folder. This is certainly the case with v6, it may also work with 5.
    Captions are more difficult. You cannot add text to a Pic using iPhoto, but you could create a document in Pages and very easily add captions to the Photographs there. Setting other apps as external editor would allow using PS or PE to add text to the pics.
    Regards
    TD

  • Playlists containing songs with titles starting with non-alphabetical characters do not get transferred at all

    I was really happy about how the desktop manager lets me choose the songs from my itunes library by playlists! this is smart! I'm also happy to see the playbook render asian characters properly (unlike my experience on the bold!)
    However, I have a lot of songs which have titles that begin with non-alphabetical characters, ie asian characters. For all playlists which contains such songs, those songs do not get transferred onto the playbook AT ALL. For example, I have one playlist which contains only songs with titles beginning with asian characters - this playlist was transferred but it is shown as containing zero songs! When I browse my song library by artist/album, I can find all those songs that should be in that/those playlists.
    Can this be fixed?
    thanks.
    Solved!
    Go to Solution.

    as it turns out, it kind of got fixed by itself. what i did (i think, since i have not definitively verified) was i went to browse "all songs" wherein i noticed all thoses songs starting with asian characters seemed to show correctly. then i went back to the playlists in question, and viola!
    clearly there is a bug or two in the music player somewhere regarding these title characters. but rim has more urgent things to resolve i guess - like my auto screen lock is still not working!

  • Smart Collection bug with Title doesn't contain rule

    Hi,
    There are various articles on smart collections that check if the "Title" field is filled or not. Because the "Title" field doesn't have an "is empty" like function, the sugested solution is to use the rule:
      Title   doesn't contain   a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
    But there is a bug in this rule. I found that the letter 't' is causing a problem. The letter 't' seems to include all characters.
    Situation:
    Four images that have a their Title field as follows:
      Image 1:
      Image 2: 2014-01 - Street Photography.dng
      Image 3: 2014-01
      Image 4: Some Image
    (Image 1 has an empty title)
    Four smart collections with the following rules:
      Collection 1: Title   doesn't contain   a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
      Collection 2: Title   doesn't contain   0,1,2,3,4,5,6,7,8,9
      Collection 3: Title   doesn't contain   a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,u,v,w,x,y,z
      Collection 4: Title   doesn't contain   t
    My expected result of the smart collections is:
      Collection 1: Image 1 and Image 3
      Collection 2: Image 1 and Image 4
      Collection 3: Image 1 and Image 3
      Collection 4: Image 1, Image 3 and Image 4
    The actual result of the smart collections is:
      Collection 1: Image 1
      Collection 2: Image 1 and Image 4
      Collection 3: Image 1 and Image 3
      Collection 4: Image 1
    I'm using Lightroom 5.7 on a MacBook Pro 17" (mid 2010), i7 @ 2.66GHz, 8GB RAM and 2 x 240GB SSD's running on OS X 10.10.1
    My questions are:
    Can anyone, specially from the Adobe Lightroom team, confirm this?
    How to solve this issue?
    With kind regards,
    Dennis
    www.idemi.nl

    That is a bizarre bug.  There is an even simpler way to reproduce the problem: Have two pics, one with title "a" and the other with title "t".  The criterion "Title Contains a" correctly shows just the first picture, but the criterion "Title Contains t" shows both.
    Searching with smart collections and filters has numerous bugs, but this one is by far the most surprising.  As a geek programmer, I'd love to know what causes this!
    Adobe rarely reads this forum -- I suggest you post this in the official Adobe feedback forum, which Adobe does faithfully read (but only infrequently responds).

  • I have a sharepoint custom list with Title and image attachments, now i want to display image attachments in div based on the title.

    hi,
    i have a sharepoint custom list with Title and image attachments, now i want to display image attachments in div based on the title.

    i am using the below code only
     SPSite mySite = new SPSite("http://sharepoinsiteaddress");
    SPWeb myweb = mySite.OpenWeb();   
    SPList myList = myweb.Lists["Announcements"];   
    SPListItem myListItem = myList.GetItemById(1);   foreach (String attachmentname in myListItem.Attachments)
    String attachmentAbsoluteURL =    myListItem.Attachments.UrlPrefix // gets the containing directory URL
       + attachmentname;
       // To get the SPSile reference to the attachment just use this code
      SPFile attachmentFile = myweb.GetFile(attachmentAbsoluteURL);
       // To read the file content simply use this code
       Stream stream = attachmentFile.OpenBinaryStream();    StreamReader reader = new StreamReader(stream);
       String fileContent = reader.ReadToEnd();
    here i am using panel, how can i attach this attached image to panel

  • Sync self made slide shows from with titles and music to I TOUCH

    Trying to sync pictures i have put into slide show with titles and music to I touch is there away

    Why not make a movie with iPhoto/iMovie?

Maybe you are looking for

  • Macbook missing trackpad options in lion

    Hi, I've been using Lion long enough now that it feels normal.  I just got interested in organizing things using multiple desktops and started reading about how things work.  I continue to see references to a 'three-fingered-swipe'.  My older macbook

  • Combination of bar and line in chart(graph) of Crystal Report XI

    Hi, I found the way to combine line and bar in a chart(graph) but I am getting rectangle marker where bar and line are crossed. Our user asked to remove the rectangle marker. Please let me know how to remove the rectangle marker. Thanks and Regards,

  • Recovery of Ipod Music

    Recently my wife took my ipod to her work and erased all the songs upon plugging in & installing a new version of itunes to her computer. At the same time, I got a new computer and do not have itunes downloaded on it. How do I salvage my songs that w

  • FYI: Amadeus Pro 1.0 Released

    See the details on their site: http://www.hairersoft.com/AmadeusPro/AmadeusPro.html ~~HangTime V1.9.9.8 [Will Compute for Food] B-)>

  • Restoring new hard drive from time capsule

    I am attempting to restore my new macbook pro hard drive from my time capsule. I follow the prompts at start up and select "from time machine or other disk" when I get to the "transfer infromation to this mac" screen. the next screen says "select sou