Hide fields on mobile view vs desktop
I have had a long standing issue with a few of my custom forms. They work great on the desktop but do not load fully on the mobile site. Specifically it this bit of custom .js.
<div> {</div><div> name: "Business Services",</div><div> type: "multipleObjectPicker",</div><div> PropertyName: "HasRelatedWorkItems",</div><div> ClassId: "1d870aa6-edb4-7d13-3950-d3c73755d6bf",</div><div> PropertyToDisplay: {DisplayName:"DisplayName",Path:"Path", "AssetStatus.Name":"Status"},</div><div> Scoped: true</div><div> },</div><div> {</div><div> name: "Hardware Assets",</div><div> type: "multipleObjectPicker",</div><div> PropertyName: "HasRelatedWorkItems",</div><div> ClassId: "C0C58E7F-7865-55CC-4600-753305B9BE64",</div><div> //ClassId: "4FBEDF9E-C703-81AE-11A6-5DAD4EFDBA70",</div><div> PropertyToDisplay: {DisplayName:"DisplayName","Description":"Description", "HardwareAssetType.Name":"AssetType"},</div><div> Scoped: true</div><div> }, </div><div> {</div><div> name: "Applications",</div><div> type: "multipleObjectPicker",</div><div> PropertyName: "HasRelatedWorkItems",</div><div> ClassId: "9a7ddc24-12b5-dfb7-6326-8c50fad4db0c",</div><div> PropertyToDisplay: {DisplayName:"DisplayName","MonitoringURL":"Monitoring URL", "AssetStatus":"Status", "CriticalSupportAgreement":"24/7 ITO Support", "SolutionVersion":"Solution Version","SLA_AvailabilityWindow":"Availability Window"},</div><div> Scoped: true</div><div> },</div>
I think it has to deal with the properties to add, and scoped access. once i comment it out, my CRs and IRs load normally.
Any suggestions?
Answers