Workflow and ServiceDesk Community

 View Only
  • 1.  Webform Endpage

    Posted Apr 01, 2016 09:00 AM
      |   view attached

    I have a question that may seem like a simple solution but am having trouble finding that solution. We created a workflow that has a webform, gets user input and then sends an email with that input to a mailbox. At the end of the webform the built in standard webpage looks the one below. the line that reads "*You can edit or replace this file in the project directory." I cannot get to change. I found the file, enddialog.aspx and edited the file to read "You can now close this form an email has been sent to your inbox" and also centered it as you can see it on the screen it is centered, it used to be on the right of the screen. *I recompiled the project and also reset IIS even though resetiis didnt need to be done.

    What gets me is the text has not changed but I can make the text go to the right, center or left on the screen but cannot get the text to change instructing the user to now look in thier inbox for the email that contains the output. Does someone know if there is more to it to get my custom text to appear on the screen, is there more to it than just editing the enddialog.aspx file to get the text to appear as I need it to?

     

     



  • 2.  RE: Webform Endpage

    Posted Apr 01, 2016 09:40 AM

    Did you edit the file going to the Project tab, "Resources" then edit against "EndDialog.aspx"?

    Project - Resources - EndDialog.png

    And just update the Text="My Text"

    <div style="text-align:left;margin-top:10em">
        <h5><asp:Localize runat="server" meta:resourcekey="lblReplaceNote" Text="My Text" /></h5>
    <div>

    Then once published if you check the file in Release does it doesn't reflect your changes?

    [InstallDrive]:\Program Files\Symantec\Workflow\WorkflowDeploy\Release\{PROJECTNAME}\EndDialog.aspx

    The issue here is it uses a Resource file with localisations in.

    If you open

    [InstallDrive]:\Program Files\Symantec\Workflow\WorkflowDeploy\Release\POC_End_WEB\App_LocalResources\EndDialog.aspx.resx

    and look for "lblReplaceNote"

    <data name="lblReplaceNote.Text" xml:space="preserve">
        <value>* You can edit or replace this file in the project directory.</value>
    </data>

    And update it

    <data name="lblReplaceNote.Text" xml:space="preserve">
        <value>My Text</value>
    </data>

    The message will then be reflected.


    I don't tend to let the WF show this page, I create another Form using a Form Builder so it has the same theme and I can use any properties configured throughout the process.

    Then add a "Terminate Window And Close Dialog" so that the project closes afterwards and EndDialog.aspx never shows.

    Terminate Window and Close Dialog.png

    Component Links

    http://www.symantec.com/connect/articles/terminate-window-and-close-dialog

    http://www.symantec.com/connect/content-external/workflow-id_LogicBase.Components.FormBuilder.Simple.TerminateWindowAndCloseDialog/workflow

    https://support.symantec.com/en_US/article.HOWTO61749.html



  • 3.  RE: Webform Endpage

    Posted Apr 01, 2016 12:56 PM

    I agree with Mr. Hedley - i would just use a built-in end page in the webform project or redirect to an intranet page upon completion, if you're able.