<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rest task-forms save-form dropdown in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15858#M7008</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/84196"&gt;@kdevineni1&lt;/A&gt;&amp;nbsp;&amp;amp; welcome to Alfresco,&lt;/P&gt;
&lt;P&gt;Thanks for accepting the solution - helpful to others who have a similar issue.&lt;/P&gt;
&lt;P&gt;Take care,&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 11:18:08 GMT</pubDate>
    <dc:creator>EddieMay</dc:creator>
    <dc:date>2021-02-10T11:18:08Z</dc:date>
    <item>
      <title>rest task-forms save-form dropdown</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15856#M7006</link>
      <description>&lt;P&gt;I am new to this forms, playing around.&lt;/P&gt;&lt;P&gt;My task form has drop down control (form control snippet)&lt;/P&gt;&lt;PRE&gt; {
                        "fieldType": "RestFieldRepresentation",
                        "id": "dropOffLocation",
                        "name": "",
                        "type": "dropdown",
                        "value": "Choose one...",
                        "required": false,
                        "readOnly": false,
                        "overrideId": true,
                        "colspan": 1,
                        "placeholder": null,
                        "minLength": 0,
                        "maxLength": 0,
                        "minValue": null,
                        "maxValue": null,
                        "regexPattern": null,
                        "optionType": "manual",
                        "hasEmptyValue": true,
                        "options": [
                            {
                                "id": "empty",
                                "name": "Choose one..."
                            },
                            {
                                "id": "option_1",
                                "name": "New York"
                            },
                            {
                                "id": "option_2",
                                "name": "New Jersey"
                            }
                        ],
                        "restUrl": null,
                        "restResponsePath": null,
                        "restIdProperty": null,
                        "restLabelProperty": null,
                        "tab": null,
                        "className": null,
                        "params": {
                            "existingColspan": 1,
                            "maxColspan": 1
                        },
                        "dateDisplayFormat": null,
                        "layout": {
                            "row": -1,
                            "column": -1,
                            "colspan": 1
                        },
                        "sizeX": 1,
                        "sizeY": 1,
                        "row": -1,
                        "col": -1,
                        "visibilityCondition": null,
                        "endpoint": null,
                        "requestHeaders": null
                    }&lt;/PRE&gt;&lt;P&gt;Using rest api I am trying to set the value for the dropdown.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;api/enterprise/task-forms/:taskId/save-form&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{
  "values": {
     "firstName" : "test1",
     "lastName"  : "Test3",
     "dropOffLocation" : "option_1"
   }
}&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I was able to set the text field values(firstName and lastName, but not the dropdown(select) values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What would be format for setting the dropdown values ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 18:31:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15856#M7006</guid>
      <dc:creator>kdevineni1</dc:creator>
      <dc:date>2021-02-06T18:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: rest task-forms save-form dropdown</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15857#M7007</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to provide id and name of option.&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;PRE&gt;{
  "values": {
     "firstName" : "test1",
     "lastName"  : "Test3",
      "country": 
    	{
    		"id": "India", 
    		"name": "India"
    		
    	}
   }
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Feb 2021 12:56:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15857#M7007</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2021-02-09T12:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: rest task-forms save-form dropdown</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15858#M7008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/84196"&gt;@kdevineni1&lt;/A&gt;&amp;nbsp;&amp;amp; welcome to Alfresco,&lt;/P&gt;
&lt;P&gt;Thanks for accepting the solution - helpful to others who have a similar issue.&lt;/P&gt;
&lt;P&gt;Take care,&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 11:18:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15858#M7008</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-02-10T11:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: rest task-forms save-form dropdown</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15859#M7009</link>
      <description>&lt;P&gt;Thank you &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/36939"&gt;@sanjaybandhniya&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is there any document or link explaining the json formats for the different types of form controls&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 11:24:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15859#M7009</guid>
      <dc:creator>kdevineni1</dc:creator>
      <dc:date>2021-02-10T11:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: rest task-forms save-form dropdown</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15860#M7010</link>
      <description>&lt;P&gt;Whats the format for saving the hyperlink.&lt;/P&gt;&lt;P&gt;I need to update the hyperlink variable from rest call.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 16:56:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-task-forms-save-form-dropdown/m-p/15860#M7010</guid>
      <dc:creator>kdevineni1</dc:creator>
      <dc:date>2021-02-26T16:56:42Z</dc:date>
    </item>
  </channel>
</rss>

