Save text/html/multilinetext type property field value

  1. First text type property field “TextPropertyFieldKey1” will save the text for English and Finnish.
  2. Second text type property field “TextPropertyFieldKey2” will save the default text.
"PropertyValues": [
{
	"FieldIdentifier": "TextPropertyFieldKey1",
	"Value":{"en":"English text", "fi":"Finnish text"   }
},
{
	"FieldIdentifier": "TextPropertyFieldKey2",
	"Value": "default text"
}
]

Edit or delete text/html/multilinetext type property field value

  1. First text type property field “TextPropertyFieldKey1” will save the text for Swedish language and update existing the Finnish text. The save action will not delete the existing English text and final text for “TextPropertyFieldKey1” = {“en”:“English text”, “sv”:“Swedish text”, “fi”:“Updated Finnish text” }
  2. Second text type property field “TextPropertyFieldKey2” will be remove or delete, as no value is assigned to “Value”.
"PropertyValues": [
{
	"FieldIdentifier": "TextPropertyFieldKey1",
	"Value": {	"sv":"Swedish text", "fi":"Updated Finnish text"  }
},
{
	"FieldIdentifier": "TextPropertyFieldKey2"
}
]

Save Boolean property field

  1. First boolean type property field “BooleanPropertyFieldKey1” will save value = false.
  2. Second boolean type property field “BooleanPropertyFieldKey2” will save value = true.
"PropertyValues": [      
{
	"FieldIdentifier": "BooleanPropertyFieldKey1",
	"Value": 0
},
{
	"FieldIdentifier": "BooleanPropertyFieldKey2",
	"Value": 1
}
]

Edit or delete Boolean property field

  1. First boolean type property field “BooleanPropertyFieldKey1” will save value = true.
  2. Second boolean type property field “BooleanPropertyFieldKey2” will be remove or delete, as no value is assigned to “Value”.
"PropertyValues": [      
{
	"FieldIdentifier": "BooleanPropertyFieldKey1",
	"Value": 1
},
{
	"FieldIdentifier": "BooleanPropertyFieldKey2"	
}
]

Save Number property field

  1. First number type property field “NumberPropertyFieldKey1” will save value = 20.
  2. Second number type property field “NumberPropertyFieldKey2” will save value = -70.
"PropertyValues": [      
{
	"FieldIdentifier": "NumberPropertyFieldKey1",
	"Value": 20
},
{
	"FieldIdentifier": "NumberPropertyFieldKey2",
	"Value": -70
}
]

Edit or delete Number property field

  1. First number type property field “NumberPropertyFieldKey1” will save value = 50.
  2. Second number type property field “NumberPropertyFieldKey2” will be remove or delete, as no value is assigned to “Value”.
"PropertyValues": [      
{
	"FieldIdentifier": "NumberPropertyFieldKey1",
	"Value": 50
},
{
	"FieldIdentifier": "NumberPropertyFieldKey2"	
}
]

Save Radio button and Drop Down option property field

  1. First Radio type property field “RadioPropertyFieldKey1” will save second option “RadioPropertyFieldKey1_optionKey2”.
  2. Second Radio type property field “RadioPropertyFieldKey2” will save forth option “RadioPropertyFieldKey2_optionKey4”.
  3. Third Radio type property field “RadioPropertyFieldKey3” will save third option “RadioPropertyFieldKey3_optionKey3”.
  4. First DropDown type property field “DropDownPropertyFieldKey1” will save second option “DropDownPropertyFieldKey1_optionKey2”.
  5. Second Dropdown type property field “DropDownPropertyFieldKey2” will save third option “DropDownPropertyFieldKey1_optionKey3”.
"PropertyValues": [      
{
	"FieldIdentifier": "RadioPropertyFieldKey1",
	"Value": "RadioPropertyFieldKey1_optionKey2"
},
{
	"FieldIdentifier": "RadioPropertyFieldKey2",
	"Value": "RadioPropertyFieldKey2_optionKey4"
},
{
	"FieldIdentifier": "RadioPropertyFieldKey3",
	"Value": "RadioPropertyFieldKey2_optionKey3"
},
{
	"FieldIdentifier": "DropDownPropertyFieldKey1",
	"Value": "DropDownPropertyFieldKey1_optionKey2"
},
{
	"FieldIdentifier": "DropDownPropertyFieldKey2",
	"Value": "DropDownPropertyFieldKey2_optionKey3"
}
]

Edit or delete Radio button or Drop Down option property field

  1. First Radio type property field “RadioPropertyFieldKey1” will save sixth option “RadioPropertyFieldKey1_optionKey6”.
  2. Second Radio type property field “RadioPropertyFieldKey2” will save first option “RadioPropertyFieldKey2_optionKey1”.
  3. Third Radio type property field “RadioPropertyFieldKey3” will be remove or delete, as no value is assigned to “Value”.
  4. First DropDown type property field “DropDownPropertyFieldKey1” will save forth option “DropDownPropertyFieldKey1_optionKey4”.
  5. Second DropDown type property field “DropDownPropertyFieldKey2” will be remove or delete, as no value is assigned to “Value”.
"PropertyValues": [      
{
	"FieldIdentifier": "RadioPropertyFieldKey1",
	"Value": "RadioPropertyFieldKey1_option6"
},
{
	"FieldIdentifier": "RadioPropertyFieldKey2",
	"Value": "RadioPropertyFieldKey2_option1"
},
{
	"FieldIdentifier": "RadioPropertyFieldKey3"
},
{
	"FieldIdentifier": "DropDownPropertyFieldKey1",
	"Value": "DropDownPropertyFieldKey1_optionKey4"
},
{
	"FieldIdentifier": "DropDownPropertyFieldKey2"
}
]

Save Checkbox button and MultiSelectList option property field

  1. Checkbox type property field “CheckboxPropertyFieldKey1” will save first, third and sixth options “CheckboxPropertyFieldKey1_optionKey1”, “CheckboxPropertyFieldKey1_optionKey3”, “CheckboxPropertyFieldKey1_optionKey6”.
  2. MultiSelectList type property field “MultiSelectListPropertyFieldKey5” will save second and forth option “MultiSelectListPropertyFieldKey5_optionKey2”, “MultiSelectListPropertyFieldKey5_optionKey4”.
"PropertyValues": [      
{
	"FieldIdentifier": "CheckboxPropertyFieldKey1",
	"Value": "CheckboxPropertyFieldKey1_optionKey1"
},
{
	"FieldIdentifier": "CheckboxPropertyFieldKey1",
	"Value": "CheckboxPropertyFieldKey1_optionKey3"
},
{
	"FieldIdentifier": "CheckboxPropertyFieldKey1",
	"Value": "CheckboxPropertyFieldKey1_optionKey6"
},
{
	"FieldIdentifier": "MultiSelectListPropertyFieldKey5",
	"Value": "MultiSelectListPropertyFieldKey5_optionKey2"
},
{
	"FieldIdentifier": "MultiSelectListPropertyFieldKey5",
	"Value": "MultiSelectListPropertyFieldKey5_optionKey4"
}
]

Edit Checkbox button and delete MultiSelectList option property field

  1. Checkbox type property field “CheckboxPropertyFieldKey1” will save forth option only “CheckboxPropertyFieldKey1_optionKey4”.
  2. MultiSelectList type property field “MultiSelectListPropertyFieldKey5” will be remove or delete, as no value is assigned to “Value”.
"PropertyValues": [      
{
	"FieldIdentifier": "CheckboxPropertyFieldKey1",
	"Value": "CheckboxPropertyFieldKey1_optionKey4"
},
{
	"FieldIdentifier": "MultiSelectListPropertyFieldKey5"	
}
]

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment