v2 framework - unable to access HTML element(custom fields) from custom app

  • 22 February 2018
  • 2 replies
  • 32 views


In v2 framework, when the agent changes the priority, should hide/show the custom fields which is displaying under the properties(right sidebar). But unable to access the HTML elements of the custom fields to hide/show.

Kindly provide a solution to handle these types of scenario's







This topic has been closed for comments

2 replies

Hi Karthick,


You can use the interface APIs to hide/show custom fields. 


Kindly refer the document https://developers.freshdesk.com/v2/docs/interface-api/#tickethideproperty.


 


Thanks janani, it worked but whereas for data type fields its not working.

eg. Start date (field name)

client.interface.trigger("hideElement", {id: "Start date"})




Kindly help us on this.