1. I think the attribute you need to use in the constraint is 'name' or 'location_name', not 'sym'.
2. Please understand that pre-processor commands (like PDM_MACRO) are resolved at the server before the resulting html page is presented to your browser. On a new ticket the customer is yet to be selected so it is correct that the position does not show for the customer. After selecting the customer when completing the ticket the PDM_MACRO will not be resolved again until the ticket is submitted.
As well, you do not need the value parameter in the PDM_MACRO. It should be simply this:
<PDM_MACRO name=dtlReadonly hdr="Designation" attr="customer.position">
------------------------------
Lindsay Estabrooks
Principal Consultant
IT-EDU Consultants
[City]
------------------------------
Original Message:
Sent: 06-20-2019 06:45 AM
From: Aamir Khan
Subject: location in datapartition & job title value
Hello Team
2 queries i have
1.i need to create constraint in dataparition for ca_location table for VIEW type only.
following constraint not working as it works fine for category.
(sym like 'location_name1') OR (sym like 'location_name2')
what would be correct constraint for location?
secondly,
below is readonly field for designation (jobtitle),...after the ticket save then we can see the designation. but before saving the ticket it doesnot show. what would be correct value?
<PDM_MACRO name=dtlReadonly hdr="Designation" attr="customer.position" value="$cst.customer.position">
#caservicedesk17.0
#caservicedesk14.1