Defaulting product field for widget

  • 9 March 2014
  • 3 replies
  • 24 views

I have tried to include the parameter &helpdesk_ticket[email_config_id]=1000026583 in the query string to invoke the widget (1000026583 is the id for the product taken from the Email Settings page) however the widget still comes up blank instead of being defaulted to the specified product.


Is this working?  Or is there another way to do this?



This topic has been closed for comments

3 replies

Hi Bruce,


Were you able to solve this problem?

I was able to set a default product with &helpdesk_ticket[product]=100000000 the product field should be visible and editable for this to work.


I also noticed that it is possible to pass the product portal url with the widget instead of the yourname.freshdesk.com url. This automatically sets the right product and hides the product field. However this brakes when https is enabled!


Does anyone have a better suggestion to do this?

So the HTTPS problem hasn't been fixed in over 8 months? How come we cannot get a *.freshdesk.com URL for the product portal? That way it would work on HTTPS too!


Userlevel 4
Badge +12





Hi,




As Johannes pointed out, the best way to pre-define the product to which the ticket belongs to , is to modify the URL in the widget to point to a product URL. The reason why the widget breaks if https is enabled is because, it expects the product portal to be secured with a SSL certificate. 




We can enable the SSL certificate for the product portals at a nominal cost and that would ensure that they are running on https.




Cheers!