How to: Redirect after document adding to a sharepoint document library

i need to redirect the current user to a custom url after successfully uploading a document.
the user clicks "+ new document" in the document library
the user selects a local document
the document gets uploaded and in that moment after it is successfully uploaded and the item is created in the list, i want to redirect the user to a custom url
Normally after successfully uploading a document to a document library under SharePoint 2010, the user gets a modal dialog where he sees only the field "Name" with the filename.
I want to prevent this. How could i achieve this?
best regards
Yavuz

Thanks for the replies, but that is not i was searching for.
For example:
the user clicks "+ new document" in the document library
the user selects a local document
the document gets uploaded and in that moment after it is successfully uploaded and the item is created in the list, i want to redirect the user to a custom url. On my system i get the Edit.aspx form ->
i don't want this!!
Normally after successfully uploading a document to a document library under SharePoint 2010, the user gets a modal dialog where he sees only the field "Name" with the filename.
I would like to do this inside an eventreceiver.
After the document is successfully added to the library i would like to redirect the user directly to another page.
I hope this clearifies my problem :)

Similar Messages

  • How to check A document library that has document publishing enabled and content approval

    HI
    1) how to check A document library that has document publishing enabled
    2)A document library or a list that has content approval enabled
    adil

    For both question, check version settings of that library
    >>1)Document Version History "Create
    a version each time you edit a file in this document library?" should set to either create major versions or Create
    major and minor (draft) versions.
    http://office.microsoft.com/en-us/sharepoint-server-help/publish-or-unpublish-a-version-of-a-file-HA101862529.aspx
    >>2)Content Approval  "Require
    content approval for submitted items?" should be set to Yes
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to redirect after task approved?

    Hi All,
    I tried to redirect after task approved/reject like:
    %Current Task:Form_URN%]&Source=http://sharepoint/sitename
    This technique is working in dev site but not in production. Its redirects to task list only. Is there any other work around for this issue?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to redirect after task approved.
    In order to solve the problem more efficiently, can you descript more detail that how you create the workflow and where you add the action you mentioned?
    In addition, please refer to the official article related, hope you could find something useful from it:
    http://msdn.microsoft.com/en-us/library/ms772417.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create a document library in Sharepoint Online using Powerpoint?

    I've been trying to create a document library in Sharepoint Online via pwoershell and I've been trying to see if anyone else has the code but the only scripts i could find are for Sharepoint 2010 on-premise and it's not compatible with Sharepoint 2013.
     Can anyone help me?
    Thanks!
    Dearbhla Bradley

    It's SharePoint Client-side Object Model.  Here are few references:
    http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/dn268594(v=office.15).aspx
    These postings are provided "AS IS" with no warranties, and confers no rights.

  • How to create a document library with the attachments of a task list?

    Hi!
    Basically, I need to create an event handler, that in the time when a file is attached to a task, make a copy of the file in the document library. Unfortunately this requires knowledge in programming and is not even possible for me to install the software
    i need in the company computers to try. Any ideas?      

    Unless you have third party workflow options, custom development IS required.
    There are several options when it comes to the development, some of which do not require admin involvement... but they still require programming.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How to programmatically publish an Infopath form to sharepoint form library

    Hi all,
    I am in trouble because i am trying to find out a solution in C# by which i can publish my infopath form (without any help of publishing wizard in InfoPath form).
    For this i seen that when we publish it through the publishing wizard it creates a new form library on the sharepoint site and then publish the form in this form library, so as same i want to do this by code.
    I have created a code which creates a form library on sharepoint site but i am unable to publish my infopath form in it because i didn't find any method for publish in C#.for this I searched on google(blogs and forums etc..).I have found only upload method
    but i want publish method.
    Thanks in advance.
    Vishal

    Hi Mike,
    Thanks for your reply, I have uploaded the infopath from in form library by code as:
    uploaddoc();
    public
    static
    void uploaddoc()
    using
    (SPSite
    site = new
    SPSite("http://sharepoint
    site/"))
    using (SPWeb
    myWeb = site.OpenWeb())
    //Test3 is library's name, in which we want to upload the InfoPath form
    SPList docLib = myWeb.Lists["Test3"];Stream
    fileStream = System.IO.File.Open(@"c:\desktop\Testform.xsn",System.IO.FileMode.Open);
    myWeb.Files.Add("test3/testform.xsn",
    fileStream);
    docLib.Update();
    could you please describe that how can I associate my uploaded form to this form library
    Regards
    Vishal

  • How to use Blob storage to office 365 sharepoint online library documents

    Hello,
    Considering that we cant uploade a file with size more than 250 MB and it is recommended using Remote
    Blob Storage (RBS) if large files are supposed to store in SharePoint.
    My question is, how to use RBS or Azure Blob storage to store files instead of SQL database.
    What is the configuration or code i need to write to accomplished this where i would prefer if it can be done simply using some configuration.
    any sample or tutorial would be great help.
    Thanks,
    Asjad 

    HI,
    What we did, we deploy small Azure PaaS application what used Azure Blob Storage and table and then show it in Office365 SharePoint online trough iframe. This gives you flexibility to customimze the PaaS application and show the content at blog storage.
    We tested this in SharePoint ONline multitenant and Dedicated plus in On Premise SharePoint with the custom code in separate IIS server published trough UAG to Internet. This allows you to save or replace your file server with Azure and small PaaS apps in
    and show the content on SharePoint ONline trough Iframe.
    Br Petri

  • Redirect After Logout

    Hi,
    I have created several example public pages each containing the Portal 9.0.2 out-of-the-box Login portlet.
    Depending on which page I use to login from, when I logout, I would like to automatically return to the same login page.
    In Portal Rel 1, this was simply a case of setting the p_done_url value to that of the required login page.
    However, in Rel 2, logout first takes you to the default logout page (the one confirming logout from various partner applications), where you are then required to manually click RETURN, at which point, the correct login page is displayed.
    I have read various threads both from this forum and metalink, and each suggests looking in the SSO Admin Guide. However, this explains how to replace the Logout page, not how to redirect after logout. If I use the method described in the SSO Admin Guide, I can only have one logout page. This would mean that I would not be able to replicate the Rel 1 functionality, where I could go to a different login page each time after logout.
    Does anyone out there know how to replicate this Rel 1 functionality?
    Thanks in advance for all help received.
    Regards,
    Gillian

    Hi Anupam,
    This is a copy of the single sign-off file, ssoff.jsp:
    <html>
    <body bgcolor="white">
    <%@ page buffer="5" autoFlush="true" %>
    <%
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Expires", "Thu, 29 Oct 1970 17:04:19 GMT");
    String done_url = null;
    int i = 0;
    try
    done_url = request.getParameterValues("p_done_url")[0];
    out.println("<center><h1>Single Sign-Off</h1><p>");
    out.println("<table border=0>");
    out.println("<tr>");
    out.println("<th>Appliction Name</th>");
    out.println("<th>Logout Status</th>");
    out.println("</tr>");
    for(;;)
    i++;
    String app_name = request.getParameterValues("p_app_name"+i)[0];
    String url_name = request.getParameterValues("p_app_logout_url"+i)[0];
    out.println("<tr>");
    out.println("<td>"+app_name+"</td>");
    out.println("<td><img src='" url_name "'></td>");
    out.println("</tr>");
    catch(Exception e)
    if(i>1)
    out.println("</table>");
    out.println("<br>");
    response.sendRedirect(done_url);
    else
    out.println("<h2><center><font color='red'>ERROR:</font>");
    out.println("This page can not be accessed directly!</center></h2>");
    %>
    </body>
    </html>
    When I now logout from the portal, this page is called as expected, but the logout process is not executed nor does the redirection take place. Any pointers??
    Thanks,
    Gillian

  • File Open Issues - document library pdf file to open in new browser window

    Hi
    I have a requirement to open the document library containing pdf file to open in new browser window. So far I have tried following steps but could not get it to work.
    1. Changing Document library advance setting to open the document in browser (have tried others as well).
    2. SharePoint web application setting changed as Permissive instead of Strict. Here the pdf file opens in browser but redirect from document library instead of new window(Also tried adding Target=”_blank” and no change).
    3. Executed the powershell script to adding MIME type to see if it works but no change.
    $webApp = Get-SPWebApplication http://SharePointSite
    If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
    Write-Host -ForegroundColor White "Adding PDF MIME Type..."
    $webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
    $webApp.Update()
    Write-Host -ForegroundColor White "Added and saved."
    Else
    Write-Host -ForegroundColor White "PDF MIME type is already added."
    4. Open the Doc library and modified ALLItems.aspx to add Target= “_blank”
    5. I have already tried solutions suggested in the link:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/530e2ea1-d77d-491c-935f-04f536e439a5/open-a-pdf-document-to-a-new-browser-in-the-document-library-web-part?forum=sharepointadminlegacy
    http://mindsharpblogs.com/todd/archive/2005/08/16/654.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/7b6091df-4657-4799-ba02-259ebd7e4b7c/pdf-doesnt-open-in-document-library?forum=sharepointadminlegacy
    Appreciate if there are any working solution from any of you. Many Thanks

    I found a solution which works only in the development. No idea when I compared, Browser MIME type is enabled, STRICT browser type is configured for web application. on the document library advance setting, default to open in new browser. Both configurations
    are identical but I am able to open pdf file in new window in my developing using jquery script
    http://blog.ithinksharepoint.com/2011/02/21/open-pdf-files-from-a-document-library-in-a-new-window/ but the same does not work on production server :(
    Any help experts?
    Thanks

  • Linking a document library to a Sharepoint/Access 2013 App

    I am not a developer but I am playing with building an app within SharePoint 2013.  I am an office 365 subscriber.  I am attempting to build an app that would act as a simplified CRM for SharePoint.  I would like to add attachments like emails
    and pdfs to the records I create and it appears the attachment feature is not available within the app environment.  I also can't figure out how to link a document library and it's records to an app as I thought this might be a work around.  So here
    are my two questions:
    Is there a way to add attachments directly into a sharepoint/access web app within sharepoint?
    If not is there a way to connect a document library to the sharepoint access web app as a work around?
    If you have any other ideas they would be greatly appreciated.  Thanks in advance.
    Ben

    I know this is a year late, but for anyone still searching for this, I found a solution that works well for me:
    1. Create the table in the Access Web App that you wish to attach files to.
    2. Use Sharepoint Business Connectivity Services to read the data in the background database for your Access Web App.
    3. Create a document library in Sharepoint, adding an external data column type, using the content type you created in Business Connectivity Services.
    You can now specify an access web app table row from within your document library in sharepoint.
    4. In Access, link a table to the sharepoint document library.  
    5. Edit the default created datasheet from your linked table, to include the fields you wish to display.  Include the field that is used for your field name in the document library - it has a hyperlink included in it.
    6. In the view form for your original table (step 1), add a subview, specifying the datasheet from step 5 and linking by the field id that should now be shared between your original table and the linked sharepoint document library.
    You can now see the files attached to the table item, including a hyperlink in the file field.
    7. Add a hyperlink to your view form to the upload.aspx in the document library.
    8. For added ease, you can pass the row id of your original table to the external content id of the document library within the url.  This takes added javascript work on editform, but it makes it so that the user does not need to select the external
    data.  You can even hide the field if you wish, but I kept it visible so that I can edit within the library.
    A true step by step would take a lot more time.  If you're familiar with these subparts, this should make sense to you.  I hope.

  • Document library is missing

    The document library panel is empty. I'm using windows 7, so I checked my app data adobe roaming folder and I can't find a document library folder on my hard drive. Does anyone know how to get the document library back? I tried updating fireworks, but there doesn't seem to be an update available.
    Thanks!

    Do you mean the Common Library?
    If not, don't worry about it. The Document Library is a part of the document itself, and changes from one document to the next. Any new document will have an empty Document Library, until you start creating or importing symbols. (Likewise, if you drag something from the Common Library onto the canvas of your document, it gets copied into the Document Library.)

  • How do I redirect  the "Documents" folder to a different partition?

    I have a separate data partition on my 10.5.1 MacBook and I want all my user data to live there. How do I redirect the "Documents", "Desktop" and "Downloads" folders to a different partition?

    As far as I know the desktop can't be assigned elsewhere. The others can be directed with the respective programs. I always keep my documents on another drive. I do it by using the saves as command and point to that directory. Then everything after that I can use there. For Downloads you just change it in preferences in Safari. Switch it in the *Save downloaded files to:* command.

  • 925685 - Approval process is not triggered after documents are added

    Hi there,
    I was wondering if anyone found already a solution for the following problem.
    According to SAP Note: 925685 - Approval process is not triggered after documents are added.
    Within our SAP application, we want to approve purchase orders for departments based upon the document total.
    I was very astonished that employees are able to add a PO which will not trigger an approval stage and after the document is added, they have the possibility to change the document and at the update moment no approval will be started even if the document meets the approval requirements.
    Therefore I really want the flexibility to give users the possibility to change their PO.
    Meanwhile, documents which are added under approval, are also locked for changes, although this is another question it is also pretty annoying!
    I hope anyone has already found a method or work around for the stated problems above.
    (We are using SAP 8.8 PL 20)
    Thanks in advance.
    Kind regards,
    Marcel

    Hi Kambadasan,
    Thank you for your reply
    I'm sorry but I know how the approval templates work and they are configured correctly, however as SAP also mentioned in their own Note, this is due to the lack of SBO that SAP has such behaviour.
    Hi Gordon,
    Thanks for your reply.
    Unfortunately I have not found the post you mentioned...
    I will post my issue alson on the topic you mentioned.
    Hopefully they found a solution or maybe version 8.81 will solve the problem.
    Thanks a lot!!
    Kind regards,
    Marcel

  • How the files are decreasing from RBS storage after some time i delete docs from document library, where shld I check the settings for this?

    HI
    I created a web application and configured  rbs storage ,
    I uploaded documents (for ex: 18 number)
     after uploaded  documents ,  and observed the RBS storage folder, number of files are increasing (39 number) , its working fine
    and also  I run the querys to check the rows increasing or not , (when I upload new doc rows are increased its fine also)
    select count(*) from alldocs
    Select count(*) from AllDocstreams
    but when I delete some docs from document library ,
    1)the doc itself deleted from document library
    2)when I check the rbs storage  there is no number of files are decreased(its still 39 files ), its same as  before doc deleted from doc library
    after some time I found the number of files are decreasing from RBS storage folder in sql server,
    here I want to know the how the files are decreasing from RBS storage  after some time, where  shld I check the settings for this? and how I control on it
    here how I know the settings for cleaning up orphan BLBOS how  these deleted BLOB
    adil

    1. WHen you delete the file from Sharepoint, it is still present in Recycle bin. This is a default setting in sharepoint for 30 days. Once files are deleted fro Recycle bin, it can also be delete from RBS
    2. There is a RBS cleanup job which deletes files from RBS. for more info check 
    http://mehuljamod.blogspot.in/2012/09/remote-blob-storage-maintainer-rbs.html

  • How to redirect a JSP page after the session is killed

    Hello!
    I am quite new to JSP. I have a question about how to redirect a jsp page after the session is killed. Could anyone help?
    thanks a lot in advance!

    You can't, directly. There's no connection betweenthe server and browser.
    even after invalidating the session. we can do it
    directly using the statement
    response.sendRedirect("....");
    or we can use the meta refresh tag.if session is invalidated and if we try to do response.sendRedirect(".. ") it throws IllegalStateException

Maybe you are looking for

  • IPhone 4 (5.0.1) Won't Sync with iTunes

    I am not new to iPhones or Macs, but I can't figure this one out. My iPhone refuses to sync with iTunes on my MacBook Pro. iTunes rushes through the first 3 steps, hangs on step 4 (deciding what to sync) for a couple seconds, then briefly displays "c

  • Xcelsius 2008 Dashbord not working

    Hi, We have BI Dashboards integrated to CRM portal via OpenDocs and using flash variables in Dashboard designer. Current version details are: BO XI 3.1 SP6 (earlier version was BO XI 3.1 SP3), and Xcelsius 2008 build on top of QAAWS>BO Universe>BEx q

  • USB over Mini Displayport in Thunderbolt port?

    Hey all, I've got a MacBook Pro Retina 13" Late 2013, I've got it connected to an Acer B296CL 29" monitor. I'm connecting it with a Mini DisplayPort to DisplayPort cable, with the Mini DisplayPort end plugged into one of the Thunderbolt ports on the

  • Scheduled thread pools and blocking

    Hello, I am using a scheduled thread pool created in the following way: ScheduledExecutorService scheduler = Executors.newScheduledThreadPool();I want to schedule a task on the scheduler, but this task uses a MulticastSocket and can block on: byte[]

  • Skype account Hijacked

    I had my Skype account compromised, had this suspended and then received an email from "customer service" that they had suspended the account and I had to tell them by email that the password had been changed. Since when does the Skype server not kno