Approval Button

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

17 Sep 2018

Hello,

How can I set "Outcome" field? It doesn't work.

Outcome's internal name is "WorkflowOutcome"
Screenshot_59.png
Screenshot_59.png (75.46 KiB) Viewed 1907 times
Best Regards.

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

17 Sep 2018

Why I can't set this field?
Screenshot_61.png
Screenshot_61.png (15.92 KiB) Viewed 1903 times

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

17 Sep 2018

Hi!

What type of field do you use? Is it set to ReadOnly in the designer? Do you want a value to be stored in this field?

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

27 Sep 2018

Hi Again,

I start task process in 2010 workflow but I can't open in SpForm Designer. How can I do this?


Screenshot_64.png
Screenshot_64.png (1.76 KiB) Viewed 1878 times
Screenshot_65.png
Screenshot_65.png (15.93 KiB) Viewed 1878 times

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

27 Sep 2018

Hi!

As I can see, the form is designed with Infopath. You should restore a default form with SharePoint Designer and then resave the form with Forms Designer.

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

28 Sep 2018

Thank you!

I can't update this column. Why?
Screenshot_67.png
Screenshot_67.png (39.54 KiB) Viewed 1866 times
Approve button "onclick"
Screenshot_68.png
Screenshot_68.png (11.74 KiB) Viewed 1866 times
Not textbox?
Screenshot_69.png
Screenshot_69.png (8.15 KiB) Viewed 1866 times

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

02 Oct 2018

I can't approve task in SpForm Designer.

Anyone help?

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

02 Oct 2018

Hi!

I'm sorry, I've missed your post. We are working to make these incidents as rare as possible, but if it occasionally happens, feel free to write on our support mail: support@spform.com.

I'm proceeding to fix your issue right now, just give me a moment.

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

02 Oct 2018

Hi!

It's quite a tricky issue, please follow these steps:

1) Remove the Outcome field from your Edit form.

2) Add HTML control instead, add this code in its Content:

Code: Select all

 <div class="workflow-outcome-field">
    <SharePoint:FormField id="WorkflowOutcomeField"
        FieldName="WorkflowOutcome"
        runat="server"
        ControlMode="Edit"
        __designer:bind="{ddwrt:DataBind('u','WorkflowOutcomeField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@WorkflowOutcome')}"
    />
</div>  
Notice that you should replace 'WorkflowOutcome' with your Outcome field internal name.

3) If you want to make a field hidden on the Edit form, just add this CSS class in CSS Editor:

Code: Select all

.workflow-outcome-field {
    display:none;
}
4) To populate this field use this code instead of yours:

Code: Select all

$('.workflow-outcome-field').find('input').val('Approved');
I hope this helps.

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

03 Oct 2018

Thank you Alex Code is working!

But task is still "In Progress", not "Completed". How can we end this task process?
Screenshot_70.png
Screenshot_70.png (21.49 KiB) Viewed 1835 times

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests