Solved

How do I create a column for file name + extension with edit menu in SharePoint 2013?

Posted on 2013-06-02
9
5,064 Views
Last Modified: 2013-06-15
Hello,

I am testing SharePoint 2013 and found that the default view for items in a documents library show the name of the file, but not the extension.  For my list, I want the record to show the file name and extension so like instead of Document 1, I want it to say Document 1.pdf.

I found that one of the columns (Name (for use in forms)) does show the filename and extension, but it cannot be clicked on.

I want to have a column in my view that combines:
- Name (for use in forms)
- Name (linked to document with edit menu)

How do I do this?
0
Comment
Question by:bigeven2002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 35

Expert Comment

by:Bembi
ID: 39214862
0
 
LVL 17

Author Comment

by:bigeven2002
ID: 39214976
Thanks for the response.  I reviewed both methods on the link.  I have no way to try Method 1 as FrontPage has been retired, so I did try Method 2.   I applied the change to the global ONET.XML file and restarted IIS, but it is having no effect.

Maybe these methods apply to SharePoint 2007 only?  Or can you clarify how I apply these methods?  I installed SharePoint Designer 2013 but not finding anything there either.
0
 
LVL 35

Expert Comment

by:Bembi
ID: 39222735
> Maybe these methods apply to SharePoint 2007 only?
I don't think so..., because the original article point to Office 365.

http://community.office365.com/en-us/forums/148/t/157137.aspx
Maybe the second option is a solution for you.

Also have a look here:
http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/8222d979-f5ff-4665-a168-7245e4325b2f

As a replacement for Frontpage, you can use also SharepointDesigner or even MS Expression.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 17

Author Comment

by:bigeven2002
ID: 39227866
Thanks, I looked at the links.  The solutions are very dated and don't seem to apply to SharePoint 2013.  Is there any documentation on this that is specific to SharePoint 2013?
0
 
LVL 35

Expert Comment

by:Bembi
ID: 39230766
Yes, the description is for 2007, nevertheless the

http://www.eblogin.com/eblogin/post/2011/11/15/ShowFileExtension.aspx
http://sharepoint.stackexchange.com/questions/45827/display-file-extension-in-doc-library-column
http://www.itwriting.com/blog/articles/how-to-show-file-extensions-in-sharepoint-2007-document-lists

What I can see is, that @FileLeafRef (still) exists in Sharepoint 2013, so at least this may work with Sharepoint 2013. The idea is to create a view with a custom field, which uses  @FileLeafRef as a function to fill the field.
0
 
LVL 17

Author Comment

by:bigeven2002
ID: 39230926
I'm sorry, I cannot get the @FileLeafRef to work in SharePoint 2013.  It produces a syntax error.  Design view has been stripped from SPD 2013 so again, the links above are focused on 2007 and unable to help me.

I created a custom view, then went to Library settings.  I selected Create Column, the closest column type listed is "Calculated (calculation based on other columns)".  See screenshot attached.  This is where I pasted the formula @FileLeafRef but it gives a syntax error when I click OK.  I tried the different syntaxes listed on the stackexchange page and they too gave an error.

In the custom view on the documents library, I go to Edit Library on the ribbon which opens SPD.  But there is nothing for converting to XLST Data View or inserting a column or formula.
sp1.png
0
 
LVL 35

Accepted Solution

by:
Bembi earned 500 total points
ID: 39237913
Mybe easier...., but in general the procedure here:
http://www.itwriting.com/blog/articles/how-to-show-file-extensions-in-sharepoint-2007-document-lists

The point is not to change the fieldlist, the point is to add a new column into the aspx file, which belongs to the list. So is is NOT just an list column, is it a column in the file what is used to produce the view.

You can open your library in Sharepoint to see the aspx file,... (see Pic3 = result)
Then open SPD and navigate to this aspx file (see pic 1)
Insert a column (pic 1), change the header name
Click into a column field and insert (or edit) the formula.(pic 2, 2a, 2b)
Save the aspx file.

This is SP2010, all the fields and more are supported in 2013 too, and SP2013 is not so different from 2010.
SPS-FileExt1.PNG
SPS-FileExt2.PNG
SPS-FileExt2a.PNG
SPS-FileExt2b.PNG
SPS-FileExt3.PNG
0
 
LVL 35

Assisted Solution

by:Bembi
Bembi earned 500 total points
ID: 39237922
0
 
LVL 17

Author Comment

by:bigeven2002
ID: 39250904
I apologize for the delay.  I reviewed the latest posts above, the screenshots above appear to be SharePoint Designer 2010 as design view is used.  However, the 2013 version does not have design view.

I thank you for the time you spent on this.  I will review the 2013 field list you submitted in hopes that it will point in the right direction.  If it doesn't, then I am declaring this impossible.

I will accept your last two posts as the answer as they are helpful.

Thanks.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question