"new document or drag files here" not visible

Hi,
I gave "Collaboration" permission to Visitors (read only users) in a document library
sub folder.
My problem is:
users can't see the "new document or drag files here"  option, so the only way to upload a file is in the ribbon: "File" -> "Upload document"
That's confusing for the users.
Setting Collaboration on the entire doc lib will solve the issue but users will be able to add/edit/delete on the root folder.
Is there a way to see the "new document" option or avoid collaboration on the root folder?

I ended up creating an event handler, I think it's the only way...
So:
I've created a new permission level for visitors called "Insert" that is Read + Add Items
I've created an event receiver on the Document library that disables collaboration only inside the root folder
Here's the code:
using System;
using System.Security.Permissions;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;
using Microsoft.SharePoint.Workflow;
namespace Extranet.EventReceivers.EventReceiverAreeScambio
/// <summary>
/// List Item Events
/// </summary>
public class EventReceiverAreeScambio : SPItemEventReceiver
/// <summary>
/// An item is being added.
/// </summary>
public override void ItemAdding(SPItemEventProperties properties)
base.ItemAdding(properties);
ValidaPosizione(properties, "Non puoi aggiungere file nella cartella di base, inseriscili solo all'interno delle sotto aree.");
/// <summary>
/// An item is being deleted
/// </summary>
public override void ItemDeleting(SPItemEventProperties properties)
base.ItemDeleting(properties);
ValidaPosizione(properties, "Non puoi eliminare file in questa cartella.");
/// <summary>
/// An item is being updated
/// </summary>
public override void ItemUpdating(SPItemEventProperties properties)
base.ItemUpdating(properties);
ValidaPosizione(properties, "Non puoi modificare file in questa cartella.");
private static void ValidaPosizione(SPItemEventProperties properties, string errorMessage)
string totalpath = properties.AfterUrl;
string[] test = totalpath.Split('/');
if (test.Length < 3 && !properties.Web.CurrentUser.IsSiteAdmin)
properties.Status = SPEventReceiverStatus.CancelWithError;
properties.ErrorMessage = errorMessage;

Similar Messages

  • I have file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Ac

    I have pdf file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Acrobat X Pro and Windows -7 platform.

    Yes, I just want to cover up all the pages for those particular area of document numbers.
    Nothing sensitive about it. I just want to show the correct document numbers on all pages in print out.
    So, I wanted to cover up by comments, but commenting on each page will be difficult. So, I wanted to comment the same on all pages.

  • Captivate 5.5 published files are not visible in Fire Fox or open in new window.

    When I publish and post Captivate 5.5, the HTML or the swf files do not display in Fire Fox (latest version) without forcing the file to open in a new window (if it displays at all). If it does work, the Flash security blocks the swf on an ugly view until the user clicks.
    I thought it was because I have to assign a direct URL to each component, but all of the other Captivate sites I have reviewed have the same issue when viewing in Fire Fox.
    IE will display after the active x is authorized (I can live with that).
    You Tube and other Flash display properly in Fire Fox, just not Captivate products.
    I have disabled off all plugins, modified the protected settings, and everything I could find listed in the Fire Fox help. I have installed a previous version of Flash and Shockwave Player. Short of reinstalling windows, it is not working and that will not help because the published content is not visible on any other machine in the office or at home.
    The files are in a Portal, so I cannot share them unless you are in the DoD and have an AKO or DKO account.
    However, here is another example of the Captivate not working.
    https://clc.dau.mil/games (this displays on some computers, but not all)
    http://www.hartisd.net/pages/uploaded_files/Assignment_Search.mht (After allowing the mht, this displays in IE)
    I am not sure if it has something to do with the other 2 published xml files that are not directly referenced in the html, but I just need either the swf or html to display in the iframe without forcing another window to display and without a lot of dependecy issues with other add-ons in Fire Fox.
    - Thanks!

    Any of the DAU games, if they display. It is a government site, so they have the standard gov garbage (stuff not working like certificates), but nothing is harmful nor can they do anything to track other than the current session.
    It is kind of weird how the content is displayed... It is not an intranet, it goes to a limited access portal. When I store content, it uses an absolute path instead of relative path. Very aggrevating when using many of the tools for non-programmers (like me), and probably more aggrevating for programmers.
    Whether I point directly to the .swf or to the generated HTML, the content displays in IE, but not in FF.
    It may be a combination of FF and Captivate. FF seems rather flaky in dealing with swf files. There is the consideration for add-ons, but I tried on a newly imaged computer and it still was not working. Even after going through all of the FF steps to get it to work.
    Basically we had to create a new HTML file to display the content because the Captivate published files don't work. However, the new HTML does not reference the XML files.
    When I publish, I get 5 different files, .swf, .htm, .js, and 2 .xml. When I dig through the code (once again, not a programmer, soo I may be missing something), even round tripping to Flash, I do not see how the .xml files are referenced at all.
    These may be different topics, not sure, it came up because I am trying to get a simple solution from the product that can be easily transferred to our production servers and available for Solders to access.
    - Thanks
    Michael

  • New fields created in MDM Console not visible on Portal iViews

    Hi All
    I would like to ask you. I recently encouraged very strange and annoying problem. We are developing Vendor repository. Menatime we have created some iViews and pages on the Portal. All of them are displayed from Main table. We can see all fields and added/deleted records.
    However I can not add any new fields (from MDM Console main table) we have created. That is whired because I only can see all fields beeing in repository for long time now, but all new fields (from that same table) ar not visible on portal.
    I tried few options with creating new and different iViews. No help. All the time I can vise old fields from repository but new one are not available.
    Can you plase advice what is/ may be wrong?
    Thank you in advance.
    BR
    Rafal

    Hi All
    After restarting server problem solved. That mean there is a casching problem. After investigation here is service to restart:
    J2EE engine
    Thank you for help.
    BR
    Rafal
    Edited by: Rafal Paczynski on Sep 29, 2011 12:21 PM

  • Got new computer installed LR but photos not visible

    Hi,
    I just got a new iMac and I installed LR 5.7 on the new system.  The photos look like they are there because I see the folder structure and what looks like photo files but inside each photo box is a light gray box with a lighter number in it. The photo itself is not visible. How can I correct this?  I still have all the original files on the old computer too if I need them.
    Thanks,
    Chet

    Thanks for your response.. Since I posted the question I discovered that I can view the photos from the develop mode but not the library mode and that was making me think that the directory paths are still valid and correct.  I also made sure that the permissions on all the LR files are read/write so I'm still stumped why I can't see the images from the library. Even if I click on them images from the library they still won't show up. The name of the file is there but the image itself won't show up.  Am open to any ideas!  I would just reimport them but I've already set hundreds if not thousands of keywords for the photos that are there which is about 170,000 photos total.

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • After downloading a file, the downloads window pops up, but is always empty. the downloaded files are not visible.

    After downloading a file, the Downloads window pops up but it is always empty. The files downloaded are not visible on this window. In order to access them, they must be sought out via windows explorer. Any ideas? Thanks.

    Be sure Options > Privacy > "Remember download history" is checked.
    *[https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel Options window-Privacy panel]
    If you want to retain download history, do not clear Download History when using Clear Recent History or "Clear history when Firefox closes" > Settings
    *[https://support.mozilla.com/en-US/kb/Clear%20Recent%20History Clear Recent History]
    *Clear history when Firefox closes: [https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel Options window-Privacy panel]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Pc recognizes air disk but files are not visible

    i have an airport extreme and an express and after three days of fiddling almost everything is working. but on the pc i can open the air disk. in the info box the pc sees itincorrectly as a phat 32 disk even though it is hfs+. i am able to mount and open it but when it opens there are no files visible. if i plug the drive directly into the pc its all good. through the extreme network - cant see the files.

    here is the solution. http://discussions.apple.com/thread.jspa?threadID=875688&tstart=240

  • Some files are not visible on external drive

    i have recently upgraded my laptop to Mac osx mountain lion, and inorder to have write access to NTFS drives i use paragon NTFS for Mac software which was working well with OSX Lion. After i have installed OSX mountain lion i can only see the files which were created using this Mac book from the time it is purchased and all order files are not being shown on the external NTFS hard drive. is this because of any bug in the new OSX?? kindly help.

    i have recently upgraded my laptop to Mac osx mountain lion, and inorder to have write access to NTFS drives i use paragon NTFS for Mac software which was working well with OSX Lion. After i have installed OSX mountain lion i can only see the files which were created using this Mac book from the time it is purchased and all order files are not being shown on the external NTFS hard drive. is this because of any bug in the new OSX?? kindly help.

  • Uploaded files are not visible

    I have uploaded numerous mp4 tutorial files I use on a regular basis, and they are not visible (I did not hide files).  They were not visible at all after their upload.  I initially thought there was an error were issue with the upload, but when I went to upload a single file once that is complete I was told in a dialog box is a duplicate file name.  The duplicate file is visible; however, the original upload file is not.
    Thank you for your assistance.

    Where exactly did you upload them to: https://cloud.acrobat.com/files ?
    Yes, the files were uploaded there.  After logon the URL is: https://cloud.acrobat.com/folder/<truncated>
    How did you upload them: directly at the website, or using Adobe Reader?  If the latter, what version; on what platform?
    The files were directly uploaded via the website: https://cloud.acrobat.com/folder/<truncated>

  • Installed new Hard Drive on Ibook g4 not visible.

    i have tried using disk utility to set up the HFS on the new drive but it is not visible. Tried starting it in Target mode and using disk utility from my ImacG5
    but it still is not visible.
    any help much appreciated

    probably the drive is not connected properly or defective.
    the only thing left is to check the conenctions, and if that does not solve the problem then try another drive

  • Logs files are not visible through AS Server Console.

    Hello,
    Server = Solaris 10
    Oracle AS 10.1.3.4 (clustered)
    Logs are generated in "/apps/oracle/product/as1013/opmn/logs/EEW_DTP_EEW_DTP_1/EWII_DTP~EEW_DTP~EWII_DTP~1.log" but not visible in Oracle EM (AS console).
    Applications in Instance: AS1013.oxdora20a
    application type: OC4J
    pid | name | state | rtid | classification | routable | parent
    27711 | ascontrol | stopped | g_rt_id | external | false |
    27711 | javasso | stopped | g_rt_id | internal | true |
    27711 | datatags | started | g_rt_id | internal | true | default
    27711 | default | started | g_rt_id | external | true | system
    27711 | eew_dtp | started | g_rt_id | external | true | default
    27711 | system | started | g_rt_id | external | true |
    27710 | ascontrol | stopped | g_rt_id | external | false |
    27710 | javasso | stopped | g_rt_id | internal | true |
    27710 | datatags | started | g_rt_id | internal | true | default
    27710 | default | started | g_rt_id | external | true | system
    27710 | eew_tp | started | g_rt_id | external | true | default
    27710 | system | started | g_rt_id | external | true |
    27709 | system | started | g_rt_id | external | true |
    27709 | default | started | g_rt_id | external | true | system
    27709 | bc4j | started | g_rt_id | external | true |
    27709 | ascontrol | started | g_rt_id | external | true | system
    27709 | javasso | stopped | g_rt_id | internal | false |
    Applications in Instance: AS1013.oxdora20b
    application type: OC4J
    pid | name | state | rtid | classification | routable | parent
    831 | ascontrol | stopped | g_rt_id | external | false |
    831 | javasso | stopped | g_rt_id | internal | true |
    831 | datatags | started | g_rt_id | internal | true | default
    831 | default | started | g_rt_id | external | true | system
    831 | eew_dtp | started | g_rt_id | external | true | default
    831 | system | started | g_rt_id | external | true |
    830 | ascontrol | stopped | g_rt_id | external | false |
    830 | javasso | stopped | g_rt_id | internal | true |
    830 | datatags | started | g_rt_id | internal | true | default
    830 | default | started | g_rt_id | external | true | system
    830 | eew_tp | started | g_rt_id | external | true | default
    830 | system | started | g_rt_id | external | true |
    829 | system | started | g_rt_id | external | true |
    829 | default | started | g_rt_id | external | true | system
    829 | bc4j | started | g_rt_id | external | true |
    829 | ascontrol | stopped | g_rt_id | external | false |
    829 | javasso | stopped | g_rt_id | internal | false |
    thanks,
    Kam

    How are they connecting? What Service?
    Any particular APPs that do this? Adobe perhaps?

  • New document units.. Inches not pixels

    Hallo
    How do I make it so a new document in Photoshop uses Inches as its units instead of pixels? I have it set to inches in the preferences -> units & rulers but every time I make a new document it defaults to pixels for the dimensions. Is there a way to make that default to inches?
    Thx
    J

    Every new document has measurements in inches/cm or pixels.
    In the New dialog just change the units to what you want.
    If you choose "Custom" the options stick for next time.

  • Acrobat XI Pro combine files window not visible

    So I was trying to combine files into one pdf this morning, but Acrobat's window for doing so would not appear. I could minimize it, and see it down on the bottom of my dock, but when I tried to maximize it, it would disappear. (I'm on a Mac). Everything else on the app was working perfectly. I:
    -checked all preferences
    -tried to re-arrange window configurations
    -made sure my 2nd monitor was up as it might have been last time I used the program
    -opened pdfs and then tried to combine them
    -quit and re-opened the application several times
    -tried again to access the 'combine' window from every angle I could
    -rebooted, then went through it all again
    -went to adobe to check for updates. Application manager says Acrobat XI is up to date. Won't let me do anything.
    So, I decided to uninstall it so I could start fresh and re-install. Uninstalled, went back to the Cloud. App manager says Acrobat XI is up to date, and still won't let me download or anything else.
    Rebooted. Went back to the Cloud. Same thing again.
    I would very much like to be able to use this app. I have things to do...

    I figured out how to recreate the preferences and it fixed the problem.  Here is how I did it:
    Quit Acrobat
    In Finder hold down "option" and open the "Go" menu.  Pick "Library"
    Open "Preferences" folder
    Drag "com.adobe.Acrobat.Pro.plist" to your desk top
    Reopen Acrobat and try to merge 2 files
    If it works you have solved your problem.  Acrobat will replace the missing file with the default.
    If it doesn't work you can drag the original folder back into "preferences" and keep trying to figure out what was wrong.
    Part of the answer was in the Acrobat workspace instruction.

  • How to copy referenced photos from dodgy external drive to new drive when whole file will not copy due to error 36.

    My external WD portable passport drive must be dodgy because I can't back it up or clone it or copy 3 of my 22 photo files to a new portable drive. I get error 36 as I attempt all 3 processes. I have copied my iPhoto library, iMovie events and most of my aperture referenced photos to the new drive. But cannot copy 3 files that contain the corrupted files showing just a grey triangle. I cannot delete or move to trash the corrupted raw photos.
    How can I copy to the new drive any photos that aren't corrupted (grey triangle instead of photo or a photo that's just coloured horizontal broken lines) so I can then reconnect the referenced photos after copying them?
    I am on late 2008 MacBook Pro with lion,
    Many thanks
    Bw

    I've worked out how to copy and reconnect individual photos.
    But can see that what's happening is that heavily edited raw photos are taking ages to load. Or not loading at all. And if opened go to the spinning wheel for 5-10 minutes. I am wondering whether to compress these or take them back to the originals or any other ideas would be very welcome.
    Thank you
    BW

Maybe you are looking for

  • Mail start page won't load correctly

    When I try to add CNN as my start page, it will not load correctly. I tried to change to fox news and it has an issue with the "System Error: Domain name mismatch". Other sights will not load properly as well. I have used Mozilla for many years and n

  • Crystal Reports 8.5 / XI R2 : Table Links comparison

    Hi Everyone, Is someone know the corespondance between the 3 options in "CR 8.5 - Visual Linking Expert" and the multiple options in "CRXI R2 - Database Experts - Links" for every link options : In CR 8.5 : under section "When linking to two files fr

  • Custom code in SSRS gives error when uploaded to report in CRM online

    Hi All; Below is my custom code  Function SumLookup(ByVal items As Object()) As Decimal If items Is Nothing Then Return Nothing End If Dim suma As Decimal = New Decimal() Dim ct as Integer = New Integer() suma = 0 ct = 0 For Each item As Object In it

  • Enerprise Search 7.2

    Hi There SAP enterprise search 7.2 is available but it sitll in the ramp up status, does any one knows when sap enterprise search will finish the ramp up and be ready and stable? Thanks

  • MacBook Pro fans won't speed up

    I have a MacBook Pro (Early 2008) 2.6Ghz with a 200GB drive and 4GB RAM. The problem is that i.e. I'm creating a movie in iMovie, so the computer does a heavy task, the CPU works at lets say 75% and according to iStatPro, it's temperature reaches 80-