Hi,
in the show contact screen in CS I can edit the detail screen and add a lot of fields related to the contact. So I can add a field "person.contact_id.address/formattedAddress" which gives me the address-line from the corresponding company record.
Is it possible to get the persons-addressline from S&M (the addressline at the person card in S&M)?
I tried "person.person_id.address/formattedAddress" but that didn't work.
Best regards
Ulli
All Replies (11)
Hello Ulrich,
Try this one:
person.contact_id.address/formattedMultiLineAddress
That is the address from the company card and it works a dream for me!
Or where you really looking for the personal address?
Stein Ove
Hi Stein,
yes, the Multiline is fine but I'm realy looking for the persons "private" address stored on the personcard in S&M.
BR
Ulli
It looks the formatted options do not work, but youi can get hold of the individual fields if it helps you in this way:
person.(address->owner_id).address1
You may not get both address types and watch out so your really get only person records and not company records. I have not tested that.
To elaborate on Stein Oves answer:
person.(address->owner_id).address1
person.(address->owner_id).zipcode
person.(address->owner_id).city
Will give you the persons full address.
The same works for contact, either by going through person.contact_id.(address->owner_id).address1 or contact.(address->owner_id).address1
Hi all,
what's the right syntax for using the individual fields?
"person.(address->owner_id).address1" in the edit field dialogue doesn't work.
BR
Ulli
It depends in which context you are.
If you are in the view ticket context, you'll have to change it to ticket.cust_id.(address->owner_id).address1
I am not completely sure what you mean by edit field, could you please elaborate?
I'm in the screen "show contact" and press the little wrench
Then I try to add a field to the profile:
Here I can use the dropdown menu or type in the individual field identifier.
BR
Ulli
Type a name you choose for the label (e.g. Address 1) and then the entire field syntax:
ticket.cust_id.(address->owner_id).address1
You cannot look up from the drop down this field.
If I go to the contact (person) in Service, and see the details pane, this is how it looks.
By clicking the wrench, I get to this view, and in the "New field" I can write person.(address->owner_id).address1 and click "Add".
It will be added to the list, as shown below:
If I then go to my details pane again, it'll be shown like this:
You can also do this by replacing address1 with zipcode, city, and so forth.
Thanks a lot for your help. Once again it was the "copy 'n' paste" error: after typing in the format everything works.
BR
Ulli