Prevent Excel document from upload

Hi all,
How to Prevent Users uploading from excel document in a custom document library. I shouldn't use Central admin for this.

1. Create a Event receiver as below:
http://www.sharepointdiary.com/2012/07/restrict-file-types-in-document-library-event-receiver.html
2. Or try Javascript:
http://stackoverflow.com/questions/254184/filter-extensions-in-html-form-upload
http://stackoverflow.com/questions/8938124/how-to-filter-input-type-file-dialog-by-specific-file-type
http://stackoverflow.com/questions/4234589/validation-of-file-extension-before-uploading-file

Similar Messages

  • "An error occurred sending the command to the application" When trying to open excel document from outlook 2007

    Error message "An error occurred sending the command to the application" When trying to open excel document from outlook 2007.
    OS: Windows Server 2008 R2
    If I save the document then it opens fine, messing with default file associations does not resolve this problem, I've googled for ir it and some suggest unticking compatibility mode or "run as admin" for excel application, neither is selected in my case.
    Outlook is configured to run as remote application from remoteApp server, this error is only occurring for one user, for others excel documents open just fine.

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, we can Create a trusted location follow these steps
    Click the Microsoft Office Button , and then click Excel Options.
    Click Trust Center, click Trust Center Settings, and then click
    Trusted Locations.
    If you want to create a trusted location that is not local to your computer, select the Allow trusted locations on my network (not recommended) check
    box.
    Click Add new location.
     IMPORTANT   We recommended that you don't make your entire
    Documents or My Documents folder a trusted location. Doing so creates a larger target for a hacker to potentially exploit and increases your security risk. Create a subfolder within Documents or My Documents, and make only that folder a trusted location.
    In the Path box, type the name of the folder that you want to use as a trusted location, or click Browse to
    locate the folder.
    If you want to include subfolders as trusted locations, select the
    Subfolders of this location are also trusted check box.
    In the Description box, type what you want to describe the purpose of the trusted location.
    Click OK.
    More detailed information you can refer to this link:
    http://office.microsoft.com/en-us/word-help/create-remove-or-change-a-trusted-location-for-your-files-HA010031999.aspx?CTT=1#BM12
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Hope that helps.
    Sincerely
    William Zhou CHN
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Getting error while opening Excel document from SharePoint site

    Hello All,
    I am getting following error while opening Excel document from SharePoint site.
    This issue appears when we open Excel document from Windows>> Run using below mentioned command:
    Excel.exe "{File Name}"
    If once I go to Excel back stage and browse for the SharePoint location, then this problem disappears.
    I have a work around for this issue but main problem is that i do not have any work around when i need to open Exel document using Excel COM interop in C#.
    Thanks,
    Amit Bansal
    Amit Bansal http://www.oops4you.blogspot.com/

    Hi Amit Bansal,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issues involve Excel application.
    According to the description, you got an error when you open the document form SharePoint site.
    Based on my understanding, this issue maybe relative to the SharePoint, I would like move it to
    SharePoint 2013 - General Discussions and Questions forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How top Open a Excel Document from share point document library using jquery

    How top Open a Excel Document  from share point document library using jquery

    Hi,
    According to your post, my understanding is that you want to open excel file via JQuery.
    To open excel file, we can use the following code.
    <script type="text/javascript">
    function openExcel(strFilePath) {
    var yourSite = "http://www.yoursite.com";
    openExcelDocPath(yourSite + strFilePath, false);
    function openExcelDocPath(strLocation, boolReadOnly) {
    var objExcel;
    objExcel = new ActiveXObject("Excel.Application");
    objExcel.Visible = true;
    objExcel.Workbooks.Open(strLocation, false, boolReadOnly);
    </script>
    For more reference:
    http://www.kavoir.com/2009/01/using-javascript-to-open-excel-and-word-files-in-html.html
    http://www.dotnetspider.com/resources/43453-Open-Word-Excel-files-using-Javascript.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Time out when trying to open Word/Excel document from portal

    Several of our users have been timing out when trying to open/download documents stored in our portal.
    The error message is "Download failed. Connection to server was reset."
    Is there some obvious setting that I am missing here?
    It happens with things as small as 200K - Word and Excel documents.
    thanks!!

    Hi Gary Jiang,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing issues about
    apps for Office.
    Based on the description, it seems that you got an issue when you deploy the code sample. If I understood clearly, I suggest that you contact the author of the code sample from the "Q and A" tab.
    Also if you have the question about WOPI, I suggest that you get more effective response from
    Office
    Protocols forum.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Prevent billing document from going to COPA

    Hello,
    I have a requirement to prevent a certain billing document from going to COPA. I created a new pricing condition, assigned an account key and linked this account key to a GL account. This enabled the condition value to be transferred to the GL account. In order to prevent the condition value from going to COPA, I did not assign this condition type to a COPA value field (transaction KE4I).
    However, I notice that the bllling document is going to COPA but no condition values are getting transferred. Is it possible to prevent such billing documents from going to COPA entirely (as they would unecessarily create a profitability segment)?
    P.S: This billing document was created with reference to a delivery of type LO (delivery without order reference) as we do not have the need for a sales order in this scenario.
    Thanks,
    Rugmani

    Hi
    First of all, I would like to ask you why you would not like to take this in COPA. When a revenue value is posted in GL account and you dont take a posting in COPA, it would imbalance your FI and COPA profitability...
    However, if you have rationally analysed your requirement and you would like to do it anyway, then here is the solution
    Use Exit COPA0005 and apply the following code..
    (This code is sample, based on blocking COPA doc where distribution channel = 45 and Ref Org Unit = CRMB).. You need to write your code in a way that it does not stop creating the COPA doc in other cases where it is required....
    Do thorough testing once you have this code..
    *&  Include           ZXKKEU07
    data : wa_ACCIT type ACCIT.
    if I_ERKRS = 'XXXX'. (Your Op Concern Code)
      read table T_ACCIT into wa_accit with key VTWEG = '45' AWORG = 'CRMB'.
      if sy-subrc = 0.
        E_INIT = 'X'.
      endif.
    endif.
    Regards
    Ajay M

  • How can I insert photos to excel documents from iPad?

    I need to find a way to edit excel docs from my iPad. I have found numerous apps that work great. The thing I'm having trouble with is editing or inserting images or art into the spreadsheets as you can with excel.

    A simple and popular way to copy files.  Also, has shared folders.
    http://wiki.dropbox.com
    More ways to transfer files and access Word documents:
    https://discussions.apple.com/thread/4044866?tstart=0
    Other more complicated ideas
    Look in the app store for accessing Windows File servers.
    for example:
    http://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8
    Configure WebDave on your server.
    This thread has good info.
    https://discussions.apple.com/thread/3708341?tstart=0
    How to transfer files from your iPad to your PC with iPad to Computer Transfer
    http://www.iphone-mac.com/how-to-transfer-and-sync-contents-from-ipad-to-pc.html

  • Export Excel Documents from SAP Business One

    Hello Guys,
    I have been having a problem with one of our customers regarding the export of documents from SAP Business One to Excel, Whenever a user tries to export a list to Excell SBO first exports it to a txt file. I found a thread where some of you had recommended to follow the steps of this procedure in order to allow the system to export the file directly into Excel:
    1. On your desktop go To: "Start -> Programs -> Microsoft Office ->
    Microsof Excel
    2. In Excel go to:"Tools #> Options #> General" Tab.
    3. De-select the tick-box "Ignore Other Applications"
    In order to de-select the "Portection from Macro Viruses"
    1. In Excel go to:"Tools -> Macro -> Security"
    2. Set the security level to "Medium".
    Change path from 'Local' to 'Server'
    1. Define the path:
    a) Choose "Administration"
    b) Choose "System Initialization"
    c) Choose "General Settings"
    d) Select the "Path" tab
    e) Define a path for the Excel folder by using the Browse (...)
    option
    Press 'Export to Excel' to open the 'AutoOpen.xls
    Make sure you change / remove the 'Local;=True' Statement accordingly,
    meaning:
    Excel is Starting from the server: remove the statement.
    Excel is Starting from the client: add the statement.
    The Excel folder should be located in a shared Folder in the server and
    it should contain the "AutoOpen.xls" file.
    I followed all the steps up until the step where it tells me to press "Export to Excel" to open the "AutoOpen.xls"  ( I believe it refers to the Excel Export Command) however when I click the icon it does not open the 'AutoOpen.xls. Does anybody know what the problem might be?? ( I checked the AutoOpen.xls" file and it does exist in the excel folder located in the shaerd folder)
    I`d sure appreciate your help guys!!

    Hi Manuel,
    Can you make sure your path is :
    C:\Program Files\SAP\SAP Business One Server\B1_SHR\ExclDocs\
    Test with this and see what is your result ..make sure you are exporting with folder with Sharing folder B1_SHR .
    Hope this helps
    Bishal
    Edited by: BIshal Adhikari on Sep 17, 2009 11:19 AM

  • Can't send Word or Excel Documents from my mail account.

    Hi
    I'm running on OSX( 10,4,3) and I can't send any Word or Excel documents.
    Well what I mean is the person at the receiving end can't open them. They just come up as corrupted documents. I can send RTF.
    Windows friendly is turned on.
    If I send a document to myself (even though I created the document myself) I can't open it. (Corrupted Document it says).
    If I send it to a PC or MAC user they still can't open it.
    If I send it from another e-mail address (Ntl) the same document will open regardless of PC or MAC user.
    Does anyone know what the problem is?
    Positive contributions most welcome.
    Cheers
    cs
    iMac, Flatscreen, Superdrive   Mac OS X (10.4.3)  

    Try selecting/using NTL's SMTP server to send mail with your .Mac account as a test.
    Go to Mail > Preferences > Accounts and under the Account Information tab for the accounts preferences, select the pop-up to the right of the outgoing (SMTP) server selection.
    Select the NTL SMTP server to be used to send mail with your .Mac account. When exiting account preferences, select OK to save the changed setting when prompted.
    Using the NTL SMTP server to send mail with your .Mac account will be invisible to all recipients.

  • Prevent parked documents from showing in Liquidity Forecast

    We have an invoice scanning system in place here which usually leads to many parked invoices being created. These invoices then show up in the liquidity forecast when we would like to exclude them. Many of these parked documents need to be reviewed to ensure the amounts, accounts, etc are correct from the initial OCR scan. We would only like to see the posted documents show in FF7A.
    Is there a standard way to accomplish this? Thanks in advance!

    When drilling down into line item you can exclude/ fitlern them out. More seems not to be possible in standard.
    Regards
    Hein

  • How do I prevent my document from looking like chinses when I use the pdf converter and print it?

    I print with the pdf converter. When I open the document its Chinese scribble, the whole document..

    Hi jhpjr,
    Are you converting a PDF to another format using ExportPDF, or converting a file to PDF? If you're using ExportPDF, the quality of the conversion depends on the quality of the original PDF file. Please see Will Adobe ExportPDF convert both text and form... | Adobe Community for an explanation of how ExportPDF converts files.
    If your PDF wasn't created from a scanned document, you may have better luck by disabling OCR as described in this document: How to disable Optical Character Recognition (O... | Adobe Community
    Best,
    Sara

  • Any help out there on making an ms excell document from a firefox newspaper search?

    If you bank on-line you can keep track of your monthly statements simply by 'copy and paste' in your notebook. Firefox has a good seach engine. I run a search for the winning lottery numbers from newspapers. Does anyone know how after you run the search, get the numbers and paste them in a notebook like excell without manually typing each winning number for all the lotto and powerpall results every day?

    http://support.apple.com/kb/TS1372

  • Writing Excel Document from PL/SQL

    Sample code :
         if p_doc_type = 'E' then --display in excel format
              owa_util.mime_header(ccontent_type => 'application/vnd.ms-excel');
              owa_util.HTTP_HEADER_CLOSE;
    (p_doc_type ='E' ) (p_doc_type is the name of the radio button,
    E=excel and H=html for the value )is coming from a radio button
    which allows the user to choose to have the format of the query
    seen in Excel or Html.. For some reason the information is able
    to be seen in Html, but when the user select the radio button to show the
    query in Excel, does not work, query still displays in HTML. Please help,
    hit a complete Brick Wall. Do I need to input any libraries or any
    meta tags for the browser
    to know to show the query/information in Excel format?

    You can write ActiveX COM components and use Oracle COM Automation too. I plan to do some experiments later in the summer.

  • Is there a way to prevent pictures/video from uploading to iCloud photo library from my iPhone and just have pictures/video from my Macbook in Photos upload to iCloud Photo Library?

    I would like just my imported photos and video in the Photos App to be synced to my iCloud Photo Library, and not the photos and video from my iPhone. Is there a way to do this?

    You can either sync them back to your iPhone is you have them saved on a computer, or you can restore from a backup if you have one.  Those would be about your only options. iOS: Back up and restore your iOS device with iCloud or iTunes

  • IOS 7 is prevented from uploading to Photo Stream by some apps

    I have found that some apps such as LINE and Facebook Camera prevent iOS 7 from uploading photoos to my Photo Stream.
    The phenominum is the followings:
    1. Take some photos by camera app of iPhone.
    2. Uploading the photos to LINE or Facebook by the apps.
    3. These photos won't appear in my Photo Stream.
    I turned off the Photo Stream in Preference and then turned on it.
    However, the photos never appeared in my Photo Stream.
    I don't think I had experienced this phenominun until I updated to iOS 7.
    I guess it might be a bug of iOS 7.

    That's probably what I'm going to do as well, until either Apple gets its PhotoStream act (back?) together, or until I switch all to Loom. Since I use Aperture mainly for organizing my pics, and only occasionally edit Sony RAW files (hence no LightRoom), this kind of solution becomes increasingly probable – and attractive, too, since my Aperture library is by far the largest disk space user, even though I have all originals on an external SSD.
    About the only thing I'd probably miss, is a native non-webbrowser photo app on OSX. On the other hand, I certainly will not miss Aperture's 1.5GB+ RAM usage, and all-too-frequent crashes under Maverick.

Maybe you are looking for

  • Error while trying to delete a pending Work Item

    hi all, working with Identity Manager 8.1, in an attempt to delete a pending workitem through debug page, the following error eppeared ERROR: com.waveset.util.WSAuthorizationException: Delete access denied to Subject gvlachopoulos on WorkItem: WFI443

  • Storage Array 2530 - 36 @ 2TB HDD -  RAID6

    Hello! I have my Array up and running using the CAM software but I have a concern and I have little experience and trouble finding documentation on the issues.. I have a 36 SATA disk 2TB setup, with 3 hot spares. 1x3 My first issue is when creating t

  • Shortcut for selecting multiple files within folders

    I'm archiving a load of work on to CD and deleting the files off of my server but keeping the folders on there for reference. Currently, I am having to SHIFT + click / COMMAND + click &drag to select these files and it is taking me forever. Is there

  • What's your actual bill?

    Hi all- I'm considering rejiggering my telephone life -- ditching my landline and DSL, getting fixed wireless high speed internet, and trading in our T-Mobile phones for iPhones for me and my wife. I'm trying to figure out if I can do this while not

  • Catalog button in SAP ERP

    Hi all, Can anyone tell me what is the use of  "Catalog" button in standard SAP ERP system ? how can i benefit from it ? Thanks all