Document name restrictions

Hi, 
I was asked to restrict document names. Users mustn't be able to add a file named 'movies.doc' unless it starts with our company's name. It must be 'companyName_movies.doc'. Can this be achieved? I am using SharePoint Online.
Thank you in advance!

you can try to do the same by attaching document library with event receiver.
Check the filename within item adding event and cancel it if its not validate the filename.
Regards, Dharnendra Shah, MCTS,MCPD - Sharepoint 2010 Application Development Blog: http://ds-sharepoint2010blogs.blogspot.in/ Email: [email protected]

Similar Messages

  • Filename or Document name restrictions

    I am working with a customer that uses strange names for their files and documents. They name them like: !(%$#@^&P_6* (we call them cussing file names)
    Anyway, I found release notes for 9.0.3 that says many of these characters can not be used. However, I have not been able to find any restrictions to filenames or document names in 10.1.4. They are trying to search for these in Oracle Search as well.
    Are those restrictions no long valid? Can you name file like this?
    Thanks
    Message was edited by:
    user540652
    Message was edited by:
    user540652

    I have experienced a problem. I did a big import of documents from a file system server to portal using api. Portal version was 10.1.2. and the problem that we got, was because of the big names of documents, when a link from an item was clicked, portal showed an error. Then we opened a sr in metalink and applied a patch. The problem solved. I had another problem with charset, our portal was configured to use UTF8 and there were "Microsoft Word documents" that was done using charset=windows-1252. When we tried to search these documents (using search portlet), we did not have success because of the charset, the solution was edit these documents and save then using UTF8.

  • Xformbuilder error ... Could not save document Name/Name-Schema.xml

    Hello everyone,
    We're using 7.00 SP14 and I have a problem with the xml forms builder on one of our systems. We're having a 3 system landscape - all three are on the same patch level etc.
    I was able to create a new xml form on one machine, unfortunately it doesn't work on our P-system. I tried to create a new form as well as copied an existing one - with the same error result.
    While saving a project the following errors appear:
    The following error occured when saving the schema: Could not save document Name/Name-Schema.xml. Reason: Operation is not supported
    The project could not be saved on the server. Do you want to save a local copy?
    Oct 13, 2008 2:45:43 PM - (ERROR)com.sapportals.wcm.app.xfbuilder.server.ServerManager :Could not serialize document: Operation not supported
    Does anyone know what the problem is? I'd appreciate your help, thanks.
    Sincerely,
    Susanne
    Okay I just found out that it's not possible to create a new folder in KM under xmlforms. That's working on the other 2 systems quite well. I have all the admin roles but somehow somewhere somewho must have restricted that. We found out that ice, etc, runtim, entry points and maybe even a few more aren't setup to create new folders in there. Does anyone know where/how to change that? It doesn't work with Details - permissions etc.
    Edited by: Susanne Zahn on Oct 13, 2008 3:40 PM

    For anyone who's interested in the solution.. there you go.
    14.10.2008 - 17:53:00 CET - Antwort von SAP     
    Dear customer,
    Can you please check whether the repository /etc is in read-only
    mode?
    Please navigate to -
    System Administration -> System Configuration -> Knowledge Management
    -> Content Management -> Repository Managers -> File System Repository
    There you can see the checkbox for "read-only".
    Please insure that this is not ticked. If it is, please uncheck it
    and building/saving the project again.

  • How to open a Numbers doc after message "The document (name) could not be opened." is received?

    I opened an Excel file with multiple worksheets by doubleclicking on it, saved it as a Numbers file and made lots of changes to it. Now I can't open it at all. All I get is the message "The document (name) could not be opened."
    Any ideas?

    It seems that your doc is corrupted.
    Try to rename it from ********.numbers to ********.numbers.zip
    then double click it
    You will get a new ********.numbers file with the structure 'package'.
    Try to open it by double-click.
    Sometimes it works.
    Yvan KOENIG (VALLAURIS, France) jeudi 22 décembre 2011 13:16:28
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • For four days I have been unable to open a lot of documents. When I try I get a message "The document "name" could not be opened. You don't have permission. This has happened to an important letter which I corrected four times. My Mac has altered the name

    This problem began when I typed in an address http www etc., making one mistake in the address. I corrected it and then tried to copy the address because it was long (I wanted to be able to acces it another time), and that's when the trouble starrted. I just copt documents to get a new one because it's quicker, but it is unorthodox, I know. Since then whenever I copy a document i cannot open it, and it often puts a gobledegook ending to the document name. I've started emailing texts to myself so as to keep them, but I MUST be able to use documents normally. I hava a MacBook Pro, using OS Mountain Lion 10.8.5. I don't like it. It's fairly new, and has messed up my system of documents : the size is alll wrong and the tabulations are worse than ever. I use text edit because I wanted to use Macdictate because I am handicapped (arthritis and firbomyalgia) but I have never been able to get it to work. Since I changed OS I cannot use Text edit properly any more. Please help me. I think it must be a bug that came through when I was putting this address in four days ago. I went to the site once I'd corrected the address and it was perfectly normal. I shall ring them today and ask them if this has happened to anyone else. I live in France. Thank you for your advice. Because I am handicapped and I do not dirve, it is very difficult to get to a Mac store. I deleted Mac cloud documents because I don't want to use it and I thought it might solve the problem, but it didn"t.

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click anywhere in the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Query Print Layout - Generated PDF Document Name?

    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

    Hello,
    Yes, I have the same question. It could be great being able to choose the name of the document when creating a pdf. Even better if you could chose fields of the document for the name of the pdf, such as, name of customer, number of document, date, etc.
    Is there any way for doing this?
    Thanks in advance,
    Javier.
    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

  • Cannot open Pages documents that I've worked on.  I open a new document, work on it, then save and close it.  When I try to open the document again, I get the following message: The document "[name]" could not be opened. The file isn't in the correct form

    I cannot open Pages documents that I have worked on and saved.  When I try to reopen Pages documents that I've saved, I get the following
    message:
    "The document “[name of document]” could not be opened. The file isn’t in the correct format.
    The file might be corrupted, truncated, or in an unexpected format."
    I have downloaded the latest update to iWork, but that doesn't help.
    I use Mac OSX 10.6.7
    I am using Pages '09 version 4.0.5 (852)
    If anyone can help, I would greatly appreciate it.
    Best regards,
    New York Mac User

    A few general trouble shooting tips that may apply here:
    1. If you used Software Update to do the OS update(s) to reach 10.6.7, go to http://support.apple.com/downloads/ and download and apply the Mac OS v10.6.7 Combo Updater. The Combo Updater contains some fixes that were not included in the incremental updaters used by Software Update.
    1a. Check that you have the current version of Pages (and of the other iWork applications) installed. All three applications' current version numbers end in .0.5
    2. A common cause of malfunctioning applications is a corrupted preferences file (.plist file). Your Pages '09's plist is at yourname > Library > Preferences > com.apple.iWork.pages.plist
    Quit Pages, locate the file and Drag it to the Desktop (or to the Trash).
    Restart Pages and attempt to open one of the files.
    If all is well, Trash the plist file and empty the Trash.
    If there's no change, AND you've made changes to the Preferences that you wish to keep, drag the file back to its previous location, replacing any new one that has been created.
    Regards,
    Barry

  • Document Creation error - "We're sorry. We can't open document name because we found a problem with its contents"

    Morning Friends,
    I have created a SharePoint 2010 "Site Workflow" that is designed to take information from a form and create a Word doc with the gathered information and store this Word doc in a document library.
    I am using Sharepoint 2013 with Office 2013 
    I understand there are a lot of steps (19) outlined below and I can provide more information as needed but the bottom line is this, workflow successfully takes info from an initiation form, uses the info to create a Word doc. Places this Word doc in a library.
    When attempting to open / edit doc, receive error
    "We're sorry. We can't open <document name> because we found a problem with its contents"
    Details - No error detail available.
    Any info or advice would be greatly appreciated. 
    Very high level view of what I have done:
    1 - Created content type called "Letters"
    2 - Added site columns " First Name" and "Last Name"
    3 -  Created and saved to my desktop a very basic Word document (Letter.docx) that says "Hello, my name is XXXX XXXX"
    4 - In the advanced settings of the "Letters" content type I uploaded this "Letter.docx" file as the new document template.
    5 - Created a new document library called "Letters"
    6 - In Library Settings - Advanced Settings, clicked "Yes" to enable the management of content types.
    7 - Then I clicked "Add from existing content types" and added the "Letters" content type
    8 - Back in the advanced settings of the "Letters" content type I selected "Edit Template" and replaced the first XXXX with the Quick Part "First Name" and the second XXXX with the Quick part "Last Name"
    9 - Created a new 2010 Site workflow called "Create a Letter"
    10 - To the workflow I added the action "Create List Item"
    11 - Configured the action to create Content Type ID "Letters" in the document library "Letter" 
    12 - For the "Path and Name" I gave it a basic name of "Letter to"
    13 - The next step was to create the Initiation Form Parameters and added to form entries "First Name" and "Last Name"
    14 - I then linked the initiation form fields to the data source "Workflow Variables and Parameters" to their respective Field from Source parameters
    15 - Went back to the "Path and Name" and modified the basic name of "Letter to" to include the first and last name parameters.
    16 - Saved - published and ran the work flow.
    17 - As expected, Initiation Form prompts for First and Last Name. ("John Doe") Then click "start
    18 - Go to document library "Letters" and see a new Word document created titles "Letter to John Doe" 
    19 - Go to open / edit the Word document and receive the following error
    thoughts? Any info or advice would be greatly appreciated. 

    See this MS support article for SP2010 workflows and generating Word docs:
    https://support.microsoft.com/kb/2889634/en-us?wa=wsignin1.0
    "This behavior is by design. The Create
    List Item action in the SharePoint
    2010 Workflow platform can't convert Word content type file templates to the correct .docx format."
    I've had success in using SP 2013, Word 2013 (saving a .docx as the template instead of .dotx for the document library content type), and an SP 2010 workflow using SP Designer 2013.

  • HT4689 With mission control in Mountain Lion, is there a setting that displays a document name when it is selected?

    For example, if I have 4 word documents open, and go to mission control so they are all displayed, can I turn a feature on that displays the document name when my mouse is over each document?
    Like in the picture, if I have my mouse over a document, the name of the document isn't displayed.  Can I change this?

    Hey! 
    I just got a new mac and was trying to figure out the same thing today!! I went from an older version to this 10.9.  I called apple support, the tech had no idea what I was talking about.  I was transferred to a manager who told me that it is not feature available on the new models.  After a 40 minute conversation I was about to let it go and then I saw this post and became determined LOL ... and I figured it out (SMH apple support).  So here is how you do you it:
    system preferences > trackpad > you want to make sure the "App Expose" is checked off > and you're done!!
    I am not able to upload a 2 photos so I will post a second screenshot of what it looks like once the preferences are set.

  • Displaying Document Name With The Summary in a Single Column Using Document Library View.

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the
    row to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Displaying Document Name & The Summary in a Single Column Using Document Library View

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the row
    to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Pages returning error message "The document (name) couldn't be opened"

    Okay so here is my problem: I made a document in Pages the other day (a list of books I own) and after spending an hour or so on it I saved, closed Pages and went and did something else. The next day I came to open it again to add something and Pages came up with this message "The document (document naem) couldn't be opedned". That it, nothing else, no reason why or anything. I tried again and again, the same thing happednd. I tried to open it with Text Edit and got this error: "The document (document name) could not be opened. The file isn't in the correct format. The file might be corrupted, truncated, or in an unexpected format."
    Okay so something is wrong. The weird thing is I can quick look it, I can open it in Preview fine.
    So after trying everything I could think of I decided a few days later to just remake the document, I had all the information there so it was a bit easier this time. I started afresh. I frequently saved, quited and re opened just to make sure everything was okay, after a while I stopped doing this as it seemed everything was okay. I finished, saved and then tried to reopen it to make sure it was fine. It wouldn't open and returned the same error as before!!!
    This is utterly preplexing and extremely frustrating. I have no idea what might be causing this. If anyone can offer some help that would be great.
    Thanks in advance :-)

    Where are you saving the files to?
    Peter

  • How to Restrict printing the document using IRM for a Single Document?Allow printing for some documents and restrict the printing for particular documents in same document library?

    Can we able to Configure the IRM in Document Level in SharePoint Document libraries?
    The document library contains multiple document sets , Can we restrict the printing according to document sets? Allow printing for some documents and restrict the printing for particular documents in same document library
     Is this possible?Please suggest.

    Yes, that can be done. But note that all administrators will have the same right to print, so you need to make sure the users are not administrators. You can include a macro to disable printing, but if the users disable macro, they can print the documents.
    Hence, there is no foolproof way to prevent printing documents. If you still need a foolproof security, PDF format provides password based security (viewing doesn't require a password) that can be implemented to prevent the document from printing,
    which doesn't require any special scripts and is tough.
    You can have a look at the following links:
    http://msdn.microsoft.com/en-us/library/office/ms458245(v=office.14).aspx
    http://msgroups.net/microsoft.public.word.docmanagement/prevent-printing-of-docum/91353
    http://www.go4sharepoint.com/Forum/prevent-printing-saving-documents-10150.aspx
    The following link explains about the security features in PDF. This is for information purpose only and not for promotion of any products:
    http://www.pdflib.com/knowledge-base/pdf-security/
    Balaji Kundalam

  • False message: The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.

    When I specify http://www.celticmanner.com/selector_test.html to Firefox 6.01, I get the false message:
    Multiple Choices
    The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.
    Available documents:
    /selector_test.txt (common basename)
    The file http://www.celticmanner.com/selector_test.html IS PRESENT on the host.
    The file http://www.celticmanner.com/selector_test.txt IS NOT. (It had been earlier.)
    I do not find the text "selector_test.txt" anywhere on my partition C! Where does Firefox retain a pointer to this file that no longer exists? And why?
    NB: The text "could not be found on this server" is sloppy. That message is not issued from a servcer, but from the instance of Firefox on my computer. The message should read "could not be found on the specified server".
    B. Somers

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

  • Move the "X" from the left side to the right side in the Document Name Tab

    I just installed CS5 MC for MAC and realized that the "X" to close the file is by default located to the left side of the Document  Name in the Tab or Bar rather than to the right when multiple files are open in an application.  I haven't checked all the Adobe Apps yet, but found this to be the case so far in AI, PS, ID.
    Where do I go in the master or individual app settings to reconfigure the file name/document name tab or bar so the little "X" that closes the file is to the right of the name rather than the left?
    I did notice that in many of Deke's Lynda training videos, the "X" was on the left in a few sessions, but most were on the right.  Really hope this isn't a MAC/PC centric thing or that it is mandatory to download Deke's custom settings for the fix.
    Thanks to anyone with the magic answer!!!
    Cheers!

    Bob --- Thank you for that very quick response.
    Bugger for the unfortunate answer, but thank you for advising/confirming the sad reality.
    Sure wish some code would fall from the sky and do a fix or workaround on this so users have the option.  I may be one of the few hung up on this, but it sure would be nice.
    Seems this is yet another "...centric" reason to use a PC in lieu of a MAC when working with Adobe products these days.
    Flip/Flop go the platforms!
    Cheers!

Maybe you are looking for

  • I can't install any dmg files

    I can't install any dmg files and I can't find CoreService nor DiskImageMounter under Library order neither. I think they're missing. Please Help.

  • Unable to update iPhone 4 from 4.3.2

    Hi I have a Windows 7 Home Premium with McAfee Antivirus Plus. The iPhone 4 is on iOS 4.3.2. Whenever I start updating the OS, it starts of with saying 5-6 hrs remaining, and 10-15 minutes later it says that the network connection timed out. Last nig

  • Having trouble with the highlights

    I have Samsung Galaxy S3 with Android 4:3 I am having trouble with the highlight feature. When I highlight a word or a sentence Adobe Reader highlights it without a problem yet I cannot see all the highlighted parts of the pdf file as a list. Thus I

  • Need help in REGEXP_LIKE

    Hi All, i need a help in REGEXP_LIKE for following condition as follows. a column has value as ALLOW TO ALL PERSON ALLOW ME in this i have check the following condition. excepted result: if i give REGEXP_LIKE(column_name,'ALL') Result: 1 row selected

  • Error CL_RSR_OLAP BW-BEX-ET

    Hi all, an error appears on the system when a WAD 3.x query is opened with the Internet Explorer: Incorrect call of OLAP layer CL_RSR_OLAP; error in BW-BEX-ET I searched the forum and found that thread where this error is mentioned. But it doiesn´t e