How can we use relate field or relationship field in case create in Sugar Portal

I want to know can we add relate field or relationship field in sugar portal create case view? 

I have relate field and relationship field. I have used this field on case creation. But if same field I'm trying to add on sugar portal case creation view then those fields are not showing in layout configuration. So i added it from custom\modules\Cases\clients\base\views\record\record.php to custom\modules\Cases\clients\portal\views\record\record.php. But only lables are showing.

Create case view in sugarcrm Case Module : 

2. Create case view in sugar portal Case :

  

  • Hi  ,

    The documentation for configuring the portal does not explicitly say which field types are supported, but I believe this is working as designed. The portal is designed to be used by your customers to raise and communicate on issues specific to them. Relate fields provide a way to query data stored in the CRM; granting that type of access to a customer is a significant security risk. 

    Using relationship fields in the portal would most likely require code customization to achieve.

    Chris

  • Hi  ,

    I agree with  , relationship in portal requires code customization, even more because the modules are probably not availables for the portal.
    There was an article that is relate to that : Adding a Custom Module to the Customer Portal 

    But be aware that your customer won't be limited to "his" records (it wil require more code customisation).

    Recently, we use the enum-api code instead of display the field as a relationship field : https://github.com/LampadaGlobal/enum-api

    That way, you can easily set up a query to restrict the available record that can be selected and it will fill the relationship for your users in the CRM.

    Hope it helps,

    Fred

  • Thank you for sharring your experience with enum-api,  , we appreciate it!

    Definitely any feature inside Customer Portal requires customization but it is easy to explore the SugarCRM framework to incorporate in there some core features like Visibility Strategies, endpoints, subpanels, filters, dashboards etc.

    Recently we incorporate an exciting feature which publish to Customer Portal a set of reports which render under Sidecar framework, giving portal users the hability to modify runtime filters and export as csv/pdf just like regular users do from inside Sugar. Portal users loved it once they are able to follow sla allocation/metrics/kpis without needing to ask backoffice users.

    André Lopes
    Lampada Global
    Skype: andre.lampada