質問 SharePoint Designer -- Replace function

  • 2012년 5월 11일 금요일 오후 12:45
     
     

    Hi,

    I am creating a workflow in SPD, and I am going to concat and replace a variable, I wonder if those functions exists and how can that be done. e.g I want to change

    http://<server>/OldPage.aspx?ID=1234

    to

    http://<server>/newPage.aspx?ID=1234&Type=5

    Thanks in advance.



    • 편집됨 wkpli 2012년 5월 11일 금요일 오후 12:50
    •  

모든 응답

  • 2012년 5월 11일 금요일 오후 2:10
     
     

    See if the section Build the URL string and store it in local variables helps you from this link -

    http://office.microsoft.com/en-us/sharepoint-designer-help/use-variables-in-workflows-HA010240415.aspx


    Ameet Phadnis (Alexander Open Systems)

  • 2012년 5월 11일 금요일 오후 2:40
     
     

    Thanks for your suggestion. That helps me regarding the concat. However, I am using this variable [%Current Task:Form_URN%] and I have no idea what will be in it, there are a few things that I am sure, and they are the things that I want to replace. e.g the aspx.

    Replacing from "WrkTaskIP.aspx" with "listform.aspx"

    And that's why I would like to know if there is a replace function or something similar.

    Thanks in advance.

  • 2012년 5월 11일 금요일 오후 2:49
     
     
    Quick question - Is this part of some list? If it is can you create a calculated column on the list to do your replacement through formula?

    Ameet Phadnis (Alexander Open Systems)

  • 2012년 5월 11일 금요일 오후 4:13
     
     
    Thanks for the tips, it actually from a list, but that is a good start, I may need to build it myself.