O
B
J
_
D
A
T
A

P
a
r
t

N
u
m
b
e
r

<-- Back to Glossary Items

OBJ_DATA Part Number

As well as the basic Object Part Number you can add a number of other values to effectively provide a short cut to displaying the data in different ways.

Fore example, using {OBJ_DATA(123, 101)} is the equivalent of {LINK({OBJ_DATA(123, 0)}, {OBJ_DATA(123, 1)})}.
The 100 added to the part number tells the system to crate a link to the referenced object while still displaying the specified part.


Values 20 to 29 - Modify the output of Object Part 1
Values 30 to 39 - Modify the output of Object Part 2
Values 40 to 49 - Modify the output of Object Part 3 (generally when dealing with an XML element)

20 - returns the first char element as an image
21 - returns the first char element as a small thumbnail image
22 - returns the first char element as a large thumbnail image
23 - returns just the full URL of the first char element
24 - returns just the full URL of the first char element as a small thumbnail
25 - returns just the full URL of the first char element as a large thumbnail
26 - returns a Font Awesome Icon representing the URL in the first char element
27 - returns a Date Time, Date or Month as the number of seconds since January 1 1970 00:00:00 GMT 
28 - returns a Date Time, Date or Month rendered as a full date
29 - returns a Date Time, same as 28 but with Day of Week as a title.

30 - returns the second char element as an image
31 - returns the second char element as a small thumbnail image
32 - returns the second char element as a large thumbnail image
33 - returns just the full URL of the second char element
34 - returns just the full URL of the second char element as a small thumbnail
35 - returns just the full URL of the second char element as a large thumbnail
36 - returns a Font Awesome Icon representing the URL in the second char element
37 - returns a Date Time, Date or Month as the number of seconds since January 1 1970 00:00:00 GMT
38 - returns a Date Time, Date or Month rendered as a full date

40 - returns the third char element as an image
41 - returns the third char element as a small thumbnail image
42 - returns the third char element as a large thumbnail image
43 - returns just the full URL of the third char element
44 - returns just the full URL of the third char element as a small thumbnail
45 - returns just the full URL of the third char element as a large thumbnail
46 - returns a Font Awesome Icon representing the URL in the third char element
47 - returns a Date Time, Date or Month as the number of seconds since January 1 1970 00:00:00 GMT
48 - returns a Date Time, Date or Month rendered as a full date

Values 30, 31 and 32 will add Part 1 as the image title if one has not been specified and a Link is not requested.

Values 20, 21, 22, 40, 41 and 42 will add the URL of the Image as the image title if one has not been specified and a Link is not requested.

60 - 65 - Evaluate Object Part 1 as Boolean value and render according to the Boolean Rendering Rules 0 to 5
70 - 75 - Evaluate Object Part 2 as Boolean value and render according to the Boolean Rendering Rules 0 to 5
80 - 85 - Evaluate Object Part 3 as Boolean value and render according to the Boolean Rendering Rules 0 to 5

+100 - Add Link to referenced Object
+200 - Add Link to Current Object (COID)
+300 - Add Link to URL, Video, Audio, Doc, Image or Email
+400 - Add Light Box Opener to item
+500 - Add ..[Read More] link to current Object if ... at the end of the line
+800 - Make the specified part Editable with an input area
+900 - Make the specified part Editable when the user clicks on the area