Using Create Item to create a Link to a Document

I want to use the Link to a Document content type and create it with a workflow. I can't seem to get it to work. I'm not putting in the right parameters for sure.
Content Type ID: Link to a Document
Path and Name: test
URL: http://test
I'm no sure what else to put.  I've tried Title.  I've tried the URL has
http://test , Test.  Not sure what to do.
David Jenkins

Hi,
It is a known issue that In our SharePoint 2013 farm, we are running into the issue with Workflows where any workflow with "Create List Item" which create a link to a document item in a Document Library.
It is by design.
Here are similar issue post, you can take a look at:
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/64c717c5-5108-411e-aa7a-b20d3afa584c/workflow-cannot-create-a-link-to-a-document-item-in-document-library?forum=sharepointcustomization
https://social.technet.microsoft.com/Forums/en-US/e2dd1d1e-d7d9-41b5-b9f2-e73138553994/problem-while-starting-on-a-workflow
Besides, you can creating a 'Link to a Document' item in a SharePoint document library programmatically:
https://erroreimprevisto.wordpress.com/2014/05/10/sharepoint-2013-programmatically-add-link-to-a-document-file-in-a-document-library/
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • My client needs to be able to create a link to a document on the server in Incontext editor

    My client needs to be able to create a link to a document on the server, but I dont want to allow FTP/File manager access as this gives him opportunity to delete pages and files.
    How can you give him safe access without giving access to the files?

    The only other way to upload the document to his site is to use Media Downloads, also known as Literature in some part of the system. Then, inside the InContext Editor you click on the link and and select page from my site, then link to the literature item created.
    That's all.
    Cheers,
    -mario

  • How to create a link to a document in the KM content

    I work in BI.  I have a document in the KM Content folder and I want to create a link to this document from another folder that I created in Portal Content.  Can someone tell me I can do this?
    Thanks.
    Ryan

    There seems to be some confusion between Portal and KM features here.
    The problem is that I have no idea of BI. But as I understand it correctly, BI stores some objects like Web Reports in KM folders.
    To your point 1.: ZSANDYTEST looks like a customer development. This is not a standard navigation node. Also you speak of "folder". The navigation nodes "Content Administration" and "Portal Content" have nothing to do with KM at all. The are comming from a portal role. So the question is, what is ZSANDYTEST below the Portal Conten navigation node? Is it an iView? What kind of iView is it?
    You say you want to have a "link" in this "folder" but without getting more details about what kind of object "ZSANDYTEST" is I can only guess, what you are having there.
    I suggest to first get a basic understanding on portal content and portal roles starting about here
    http://help.sap.com/saphelp_nw70/helpdata/en/6b/a7a62102194ad0879b19731905d2de/frameset.htm
    No if you now what a role is and what an iView is, we can talk about how to integrate something into an already existing role. You can create an iView of a fitting type to integrate any content into the portal.
    For example create an SAP transaction iView if you want to integrate an SAP transaction.
    Now KM is an application using the portal. Things stored in KM can be intergrated in different ways.
    If you want to integrate a word document stored in KM it is a good idea to create a KM document iView. If you want to intergrate a whole KM folder structure you need to use a KM navigation iView. In the standard portal roles there are already KM navigation iViews, so to integrate a new object like a word document you can simply create a new KM folder and upload the document there.
    So try to specify if you mean a KM folder or a portal navigation node or a PCD folder. Because whithout seeing the system while talking about this there will be confusion.
    2. When creating a link in KM you will get a popup with KM entry points in it for which you have permissions. There is also a small link called "more" if not all entry points are fitting into the window.
    Form the link to this SRA_LOGO_TEST you posted before this seems to be stored in a subfolder of the "Public Documents" entry point (folder) so navigate into the Public Documents entry point and into the subfolder containing the object you want to link to. Of course, if you do not have read permission to the folders or objects you want to link to, you will not see them.

  • How to create a 'Link to a Document' Item in a SharePoint Document Library using power shell?

    Hi,
    I have a document library with "Link to a document" content type. And, I have to add some links into that library using powershell. I have searched enough regarding approachs for adding a link into the library in powershell but i did not get anything yet.
    Please provide some approaches and code samples to solve this problem.
    Thanks,
    Lalit Kumar Mishra 

    Adding Site Columns To Content Types Using PowerShell
    Adding Site Columns To Content Types Using PowerShell
    The below PowerShell script will allow you to add a metadata field that is either contained at the Site Collection level, Site level, or library level, to the specified Content Type.
    It also contains some optional lines that you might choose to include or exclude, such as
    Setting the visibility of the column in the edit form to hidden
    Setting the status of the column to require values
    01
    function Add-SPContentTypeField
    02
    03
        <#
    04
            .Synopsis
    05
                This function will allow you to add a library field to a Content
    Type
    06
            .Description
    07
                This function will add the nominated site column/ library column to a nominated Content
    Type within all of the 'Document Libraries'
    in the given Site Collection
    08
            .Example
    09
                C:\PS>Add-SPContentTypeField
    –SiteUrl “http://yourdomain.com/sites/Finance –FieldName
    "myField" -CTypeAddedTo "myContentType"
    10
            .Notes
    11
                Name: Add-SPContentTypeField
    12
                Author: Petro Margaritis
    13
                Last Edit: 19/07/2012
    14
                Keywords: Fields, Site Columns, Content Types
    15
            .Link
    16
                http://thesharepointproject.com/
    17
        #>
    18
    19
        Param (
    20
               [parameter(Mandatory=$true)][string]$SiteUrl,
    21
               [parameter(Mandatory=$true)][string]$FieldName,
    22
               [parameter(Mandatory=$true)][string]$CTypeAddedTo
    23
    24
    25
        $site = Get-SPSite
    $SiteUrl
    26
    27
        # Walk through each site in the site collection
    28
        $site | Get-SPWeb
    -Limit all | ForEach-Object {
    29
    30
            write-host
    "Checking site:"$_.Title -Foregroundcolor
    Green
    31
    32
            # Go through each document library in the site
    33
            foreach
    ($list in $_.Lists | where
    { $_.BaseTemplate -eq "DocumentLibrary" })
    34
    35
    36
                # Check to see if the library contains the content type we are looking for
    37
                if (($list.ContentTypes |
    where { $_.Name -eq $CTypeAddedTo
    }) -eq $null)
    38
    39
                    Write-Host
    "The Content:" $CTypeAddedTo "does not exist in the library:"
    $list.Title -Foregroundcolor Red
    40
    41
                else
    42
    43
                    # Check to see if the library contains the field we are looking for
    44
                    if (($list.Fields |
    where { $_.Title -eq $FieldName
    }) -ne $null)
    45
    46
                        # Get the content type you want to add the field to
    47
                        $ct
    = $list.ContentTypes[$CTypeAddedTo]
    48
                        # Get the column you want to copy
    49
                        $field
    = $list.Fields[$FieldName]
    50
                        # Add the column to the content type
    51
                        $ct.Fieldlinks.Add($field)
    52
                        $ct.update()
    53
    54
                        # Add additional column settings
    55
                        $ctFieldLinks
    = $ct.FieldLinks | Where
    {$_.Name -eq $field.Title}
    56
                        # OPTIONAL: This will set the column to hidden so that it is not viewable in the edit form
    57
                        $ctFieldLinks.Hidden =
    $true
    58
                        # Set Field to require value
    59
                        $ctFieldLinks.Required =
    $true
    60
                        $ct.Update()
    61
                        Write-Host
    "The Field:" $field.Title "has been successfully added to the library:"
    $list.Title -Foregroundcolor Cyan
    62
    63
                    else
    64
    65
                        Write-Host
    "The Field:" $FieldName "does not exist in the library:"
    $list.Title -Foregroundcolor Yellow
    66
    67
    68
    69
    70
        # Dispose of the site object
    71
        $site.Dispose()
    72
    Simply copy and paste the above into Notepad and save it as a PowerShell file with the name
    Add-SPContentTypeField.ps1
    view sourceprint?
    1
    # To run the above function you'll need to do the following - go into the saved location
    2
    Cd C:\scripts\
    3
    # Then call it using the dot prefix - note that there is a space between the dots, ..\
    4
    . .\Add-SPContentTypeField.ps1
    5
    # Now we can happily run the script like so
    6
    Add-SPContentTypeField –SiteUrl “http://yourdomain.com/sites/Finance –FieldName
    "myField" -CTypeAddedTo "myContentType"

  • How to create Doc Link between two document numbers?

    Hi Folks,
    I have two document numbers with different transaction type.
    I want to create a Document link between these two documents, i.e. each documents should come in Dock Flow of each other.
    How to acheive this target.
    I tried to do it by using FM CRM_DOC_FLOW_MAINTAIN_OW, but not able to achieve it.
    So please tell me how to do this thing.
    Regards
    PG

    Hi PG,
    The FM CRM_DOC_FLOW_MAINTAIN_OW should work , I am not sure what parameters you are passing. Any way you can use the CRM_ORDER_MAINTAIN as well which will eventually call CRM_DOC_FLOW_MAINTAIN_OW . Have a look of the sample code, This will give you some idea
    lw_input_field_names-fieldname  = 'GUID'.
          INSERT lw_input_field_names INTO TABLE lt_input_field_names.
          CLEAR lw_input_fields.
          lw_input_fields-ref_kind    = gc_object_kind-orderadm_h.
          lw_input_fields-objectname  = gc_object_name-orderadm_h.
          lw_input_fields-ref_guid    = lw_orderadm_h1-guid.
          lw_input_fields-field_names = lt_input_field_names.
          INSERT lw_input_fields INTO TABLE lt_input_fields.
          lw_doc_link1-objkey_a   = lw_orderadm_h-guid.
          lw_doc_link1-brel_kind  = gc_brel_kind-header_header.
          lw_doc_link1-brel_mode  = gc_mode-create.
          lw_doc_link1-reltype    = gc_bin_rel_type-predecessor_successor.
          INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
          lw_doc_flow1-ref_guid   = lw_orderadm_h1-guid.
          lw_doc_flow1-ref_kind   = gc_object_kind-orderadm_h.
          lw_doc_flow1-doc_link   = lt_doc_link1.
          INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
          CLEAR lw_input_fields.
          REFRESH lt_doc_link1.
          lw_input_fields-ref_kind    = gc_object_kind-orderadm_i.
          lw_input_fields-objectname  = gc_object_name-orderadm_i.
          lw_input_fields-ref_guid    = lw_orderadm_i1-guid.
          lw_input_fields-field_names = lt_input_field_names.
          INSERT lw_input_fields INTO TABLE lt_input_fields.
          lw_doc_link1-objkey_a   = lw_orderadm_i-guid.
          lw_doc_link1-brel_kind  = gc_brel_kind-item_item.
          lw_doc_link1-brel_mode  = gc_mode-create.
          lw_doc_link1-reltype    = gc_bin_rel_type-predecessor_successor.
          INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
          lw_doc_flow1-ref_guid   = lw_orderadm_i1-guid.
          lw_doc_flow1-ref_kind   = gc_object_kind-orderadm_i.
          lw_doc_flow1-doc_link   = lt_doc_link1.
          INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
          CALL FUNCTION 'CRM_ORDER_MAINTAIN'
            CHANGING
              ct_orderadm_h     = lt_orderadm_h1
              ct_input_fields   = lt_input_fields
              ct_doc_flow       = lt_doc_flow1
            EXCEPTIONS
              error_occurred    = 1
              document_locked   = 2
              no_change_allowed = 3
              no_authority      = 4
              OTHERS            = 5.
          IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            RAISE error_occurred .
          ENDIF.
    Hope this will help.
    Thanks,
    Vikash.

  • Is there a way to create a link within a document that will pull text from the document and open it up in a separate text box within the document?

    I am trying to link sections of an form within a PDF back to instructions within the same PDF document.  Instead of having this jump back to the page within the document I would like for it to pull up the identified text within a separate pop-up text box on the same page where the form lives.  Is this possible?

    Hi gwebster,
    Instead of linking back to the instructions page, may be you can use tool tips or comments so that the instructions can be seen besides the text.
    Regards,
    Rave

  • How to create link of a document in a different library (in different site collection) - programmatically

    Hi,
    am trying to create link of a document in a different library (in different site collection) using SharePoint Link a document Content type approach. i have already tested this manually.  
    As per my requirement i need to implement this approach through code.
    If anyone has implemented link a document approach through code, please share your inputs.
    help is highly appreciated!
    thanks

    Check if below helps:
    http://blogs.msdn.com/b/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx
    http://stackoverflow.com/questions/15625448/create-a-link-to-a-document-in-a-sharepoint-shared-document-list-using-powersh

  • How to create internal links with pages...?

    I'm thinking of taking all my class notes with the computer and I wanted to know if Pages can create internal links (to other documents, or to another point in the same document). Or is there a better application to do this?
    iMac   Mac OS X (10.4.9)   17'' 2GHz PPC G5

    Although I really haven't used it, this seems to be a very cool feature.
    Call up Pages Help and search for "link". You will be rewarded with several hits, one of which is 'Creating a hyperlink to a bookmarked location in a document' with step-by-step guidance on using the Inspector for hyperlinks and bookmarks.
    MacBook Pro   Mac OS X (10.4.9)  

  • Difference between create database link and create shared Database link

    Hi Guys,
    can any one suggest me where to use "create database link" statement and where to use "Create shared database link". I have only idea that using shared database link the process can reuse connections already established to the remote server.
    In my envrionment I am used to connect with db link but sometimes its not working so try with shared link and its working fine. In local as well as remote database we are using DEDICATED only not the shared server.
    so, what the cause behind this?
    Any suggestion?
    Thanks...

    Please refer to documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_concepts.htm#sthref3878
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Records Management Sytem link to DMS Document

    I'm trying to programatically create a document in DMS from Records Management System and create a link to the document.  I can create the document using BAPI_DOCUMENT_CREATE2 but cannot figure out a way to link to the document.
    Does anyone know if there is a BAPI or function module to do this?

    HI Michael,
    This cookbook gives an example of how to link a BO to record automatically. You can probably use the same concept
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40be7649-72f7-2c10-03b9-c85d56eff2e5?quicklink=index&overridelayout=true
    BAPIs  SRM_RECORD_ADDELEMENT & SRM_RECORD_ADDELEMENTS can be used to add one or more than one elements in a record.
    Please note that if adding an object to arecord is one processing step in a bigger process which may need access to same record again & again then it is better to use record APIs(methods of IF_SRM_SP_RECORD) . BAPIs should be used for one off access to records since every BAPI opens record, makes changes & then closes record.
    For a bigger process which requires access to same record again & again, opening & closing records so many times becomes costly for performance.
    Thanks & Regards,
    Pragya

  • Problem "Link to a document" content type within document set - Bug?

    Hello,
    I'm having an issue with the "Link to a document" content type in one of my document libraries. The issue is when you create a link to a document inside a document set:
    The result is that the users get redirected to the wrong URL (../docsethomepage.aspx instead of ../docsethomepage.aspx?ID=.......), and instead of seeing the actual document set they started from, with the new link (or any document that is already in the
    document set) the users see a default view of a generic document set - not the one they started from:
    Any suggestions on how to fix this? One library has this faults and one does not. Our SharePoint server is up-to-date.

    Hi,
    I reproduced the issue in different versions of SharePoint, it works in SharePoint Server 2013, and the issue occured to Office 365. I then tried enabling “Launch forms in a dialog”, it worked.
    I will forward the issue to our internal feedback channel. And since the issue occurs to Office 365, please create service request with online engineer for root cause.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Problem to create a link with parameters using a PL/SQL function body

    Hi everybody,
    I need some help to create a link on a SELECT statement.
    I have a region report with type "PL/SQL function body return SQL query".
    I would like to use a link using HTML tag <a href>.
    I know how to do the link, but I don't know to pass a parameters in <a href> statement.
    Always I tried it doesn't work well.
    My PL/SQL anonimous block is, (just with link) :
    DECLARE
    q vARCHAR2(4000);
    BEGIN
    q:='select     "INDICADOR"."NRINDICADOR" as "NRINDICADOR",';
    q:=q||'     "INDICADOR"."DSINDICADOR" as "DSINDICADOR",';
    q:=q||'''<span style="font-weight:bold;">';
    q:=q||'''||TO_CHAR("TOTAL_INDICADOR"."VL_INDICADOR", ''999G999G999G990D00'')||''</span>''';
    q:=q||' as "VL_INDICADOR",';
    q:=q||'     "TOTAL_INDICADOR"."VL_META" as "VL_META" ';
    q:=q||' from     "TOTAL_INDICADOR" "TOTAL_INDICADOR",';
    q:=q||'     "INDICADOR" "INDICADOR" ';
    q:=q||' where "INDICADOR"."NRINDICADOR"="TOTAL_INDICADOR"."NR_INDICADOR"';
    RETURN q;
    END;
    Thanks for any help,
    Alessandra

    Your code is in a default value for an item, right?
    You need to make sure :P33_YEAR is not null and handle the error in the PL/SQL if it is.
    How is P33_YEAR populated? do you pass it in? check to see if it is making it there..
    Message was edited by:
    Bill Carlisle

  • Create a Link using Dynamic Text and Capture Variable

    I am building a dynamic website using Dreamweaver CS5 with Coldfusion 9
    Currently I have created a dynamic text table. The table is created by querying the Invoice table and displays the all the customers Invoices. The columns Include Invoice #, Date, Amount Paid, BalanceRemaining, Due Date. So basically lists all the invoices I have applied to the unique customer. It is pulled up using a session variable I created from the login page.
    My question is this I want to make the "Invoice #" linked so when you click on it it goes to a new page and performs a new query which retrieves infro related to that specific invoice such as Services Rendered, Service Description, Date, Price, Total. I was able to create a link to the Invoice # but I am stuck trying to figure out how to capture the Unique Invoice # and apply it to the new query. Is this possible if so how?
    Thanks for your help!

    Now keep in mind I am speaking strictly from a web and SQL standpoint as I have no experience with coldfusion.
    If you are able to create the link to the Invoice, I am perceiving this as the following:
    Invoice
    Links to
    #123
    page.php?invoice=123
    #345
    page.php?invoice=345
    If your page is setup like that then you already have the data stored in the browser request with the GET method.  In PHP the equivalent is the $_GET array.  I am assuming ColdFusion has a similar array to work with forms.  Then on your following page you obviously need to check that the visitor came from the prior page with the proper permissions to ensure that someone doesn't get the address page.php?invoice=### and just guesses through and views all invoices if they are not supposed to.  Then your query would look something like the following:
    SELECT * FROM invoice_table WHERE invoice_number = $_GET['invoice']
    Remember this in written in PHP so yours should be a similar equivalent.
    Hopefully this helps a little to get you going in the right direction.

  • Problem Creating Partner Link for Adapter Integrating with Tuxedo using JCA

    Hi All,
    This is the first time that I am working on integration tools. I will explain in brief the problem.
    There will be a legacy system (Tuxedo) running which connect to legacy database for requests. I am able to connect to that legacy system using Attunity Studio for getting the response back. Which is working fine.
    Now I want that to integrate with BPEL PM 10.1.2 using JCA. For this I followed this URL (http://www.oracle.com/technology/tech/java/oc4j/904/how_to/oc4j-jca-tux/onjava-jca.html). What happens here is, a simple servlet invokes a Session Bean that interacts the Attunity Server using the JCA. For that I am using oc4j container of BPEL PM 10.1.2. I could able to work it fine.
    For working with BPEL, I have created synchronous process, when try to create Partner link using Adapter service from WSIL browser, it is not coming in.
    Am I missed any important configuration at BPEL PM end.
    For doing this a followed the "tutorial 2" @ http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    In exact way, above provided tutorial 2 PDF, I failed at step "Configuring a BPEL Service to invoke the above Adapter Service" on page 11.
    Your help is highly appreciated
    Thanks
    Venkata

    Something to note. I tried adding the same BPEL services as partner links to a new application and new project on two other developer's workstations, and the creation of the partner links were successful.

  • How to create a tree structure using list items(tlist)

    HI every one,
    As we know how to create a tree structure using Hierarchy item type.
    We have a requirement to create The same tree like structure using List Item(Tlist)
    I would be so appreciated If you send with an example
    Thanks
    RangaReddy

    Hi all
    Any one help me please
    Actually our client requirement is creation of tree structure using list item,similar to what we used in oracle Application(FNDSCSGN) form.We did the tree structure using hierarchy tree using Htree and Ftree.It working excelently.For client requirement, we want to use list item.How PJC(Pluggable Java Components) is useful for using list item(Tlist).I can't understand how it is useful.
    Do you have any example please help me.
    Thanks
    RangaReddy

Maybe you are looking for