Esempio n. 1
0
 /// <summary>
 /// Clears a value from the MultiValueOptionSet provided
 /// </summary>
 /// <param name="control"></param>
 public void ClearValue(MultiValueOptionSet control)
 {
     _client.ClearValue(control);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets/Removes the value from the multselect type control in the header
 /// </summary>
 /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param>
 public void SetHeaderValue(MultiValueOptionSet control)
 {
     _client.SetHeaderValue(control);
 }
Esempio n. 3
0
 /// <summary>
 /// Sets/Removes the value from the multselect type control
 /// </summary>
 /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param>
 /// <param name="removeExistingValues">False - Values will be set. True - Values will be removed</param>
 public void SetValue(MultiValueOptionSet option, bool removeExistingValues = false)
 {
     _client.SetValue(option, removeExistingValues);
 }
Esempio n. 4
0
 /// <summary>
 /// Gets the value of a  MultiValueOptionSet from the header
 /// </summary>
 /// <param name="option">The option you want to Get.</param>
 public MultiValueOptionSet GetHeaderValue(MultiValueOptionSet control)
 {
     return(_client.GetHeaderValue(control));
 }
Esempio n. 5
0
 /// <summary>
 /// Gets the value of a MultiValueOptionSet.
 /// </summary>
 /// <param name="option">The option you want to set.</param>
 public void GetValue(MultiValueOptionSet option)
 {
     _client.GetValue(option);
 }
Esempio n. 6
0
 /// <summary>
 /// Returns the contacts in the To, CC or Bcc line in Email page as a MultiValueOptionSet object.
 /// </summary>
 /// <param name="emailOptions">Object of type MultiValueOptionSet containing name of the Field</param>
 /// <returns>MultiValueOptionSet object where the values field contains all the contact names</returns>
 public MultiValueOptionSet GetEmail(MultiValueOptionSet emailOptions)
 {
     return(_client.GetValue(emailOptions));
 }
Esempio n. 7
0
 /// <summary>
 /// Sets the value of a MultiValueOptionSet field
 /// </summary>
 /// <param name="field">MultiValueOptionSet with the schema name of the field to retrieve</param>
 public void SetValue(MultiValueOptionSet option, bool removeExistingValues = false)
 {
     _client.SetValue(option, FormContextType.BusinessProcessFlow, removeExistingValues);
 }
Esempio n. 8
0
 /// <summary>
 /// Gets the value from the multselect type control
 /// </summary>
 /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param>
 /// <param name="removeExistingValues">False - Values will be set. True - Values will be removed</param>
 public MultiValueOptionSet GetValue(MultiValueOptionSet field)
 {
     return(_client.GetValue(field));
 }
Esempio n. 9
0
 /// <summary>
 /// Opens the multiselect control and removes the contacts to the To, CC or BCC line specified in the
 /// MultiValueOptionSet object.
 /// </summary>
 /// <param name="emailOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be removed</param>
 /// <returns></returns>
 public bool RemoveEmail(MultiValueOptionSet emailOptions)
 {
     return(_client.SetValue(emailOptions, FormContextType.Entity, true));
 }
Esempio n. 10
0
 /// <summary>
 /// Clears a value from the MultiValueOptionSet provided
 /// </summary>
 /// <param name="control"></param>
 public void ClearValue(MultiValueOptionSet control)
 {
     _client.ClearValue(control, FormContextType.Entity);
 }
 /// <summary>
 /// Sets/Removes the value from the multselect type control
 /// </summary>
 /// <param name="option">Object of type MultiValueOptionSet containing name of the Field and the values to be set/removed</param>
 /// <param name="removeExistingValues">False - Values will be set. True - Values will be removed</param>
 public void SetValue(MultiValueOptionSet option, bool removeExistingValues = false)
 {
     _client.SetValue(option, FormContextType.Dialog, removeExistingValues);
 }
 /// <summary>
 /// Opens the multiselect control and adds the contacts to the To, CC or BCC line.
 /// </summary>
 /// <param name="toOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be set</param>
 /// <param name="removeExistingValues">Remove any existing values in the To, CC, or BCC lines, if present</param>
 public void AddEmailContacts(MultiValueOptionSet toOptions, bool removeExistingValues = false)
 {
     _client.SetValue(toOptions, FormContextType.Entity, removeExistingValues);
 }
Esempio n. 13
0
 /// <summary>
 /// Clears a value from the MultiValueOptionSet provided
 /// </summary>
 /// <param name="control"></param>
 public void ClearValue(MultiValueOptionSet control)
 {
     _client.ClearValue(control, FormContextType.QuickCreate);
 }
Esempio n. 14
0
 /// <summary>
 /// Opens the multiselect control and adds the contacts to the To, CC or BCC line.
 /// </summary>
 /// <param name="toOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be set</param>
 public void AddEmailContacts(MultiValueOptionSet toOptions)
 {
     _client.SetValue(toOptions);
 }
Esempio n. 15
0
 /// <summary>
 /// Opens the multiselect control and removes the contacts to the To, CC or BCC line specified in the
 /// MultiValueOptionSet object.
 /// </summary>
 /// <param name="emailOptions">Object of type MultiValueOptionSet containing name of the Field and the values to be removed</param>
 /// <returns></returns>
 public bool RemoveEmail(MultiValueOptionSet emailOptions)
 {
     return(_client.SetValue(emailOptions, true));
 }
Esempio n. 16
0
 /// <summary>
 /// Gets the value of a MultiValueOptionSet.
 /// </summary>
 /// <param name="option">The option you want to set.</param>
 public MultiValueOptionSet GetValue(MultiValueOptionSet option)
 {
     return(_client.GetValue(option));
 }