Hi All,
I am working on community portal and I have created a custom case creation form over there. It works fine otherwise but I need to have product lookup on the form because in my scenario, the product is a mandatory field for a case entity. However, when I add a product lookup field on the portal web form, it is not showing up.
I have verified that the portal user that I use has proper permissions to the product entity. Also I have verified that it is not a caching issue as other form changes that I do show up fine in the web form. Also I have restarted the portal but it did not help either.
I started investigating the portal web form source code in browser dev tools and noticed that there is a following piece of JavaScript in place:
<script type="text/javascript">
// Hide entitlement and prodcut fields if site setting = false
(function ($) {
$("#productid").closest("td").hide();
$("#entitlementid").closest("td").hide();
}(jQuery));
</script>
I think this is now the cause of this issue. However, I cannot find a portal site setting that would have an effect to this. The JS comment over there does not mention either that which site setting they refer to here.
Has anybody else faced the same issue with the portal web forms?
Thanks,
Tuomas
*This post is locked for comments