[RESOLVED] Calculated Field inside Preview URL


#1

Hey there,

i am trying to include a calculated field inside the preview URL of a DataObject Class.

I have a field ‘slug’ which generates a Url Slug from the name of a Object via a Calculator.
Inside of the Preview URL of the Class i inserted following: “/fernwanderweg/%slug”.

The URL which is generated does not replace ‘%slug’ with the actual value from the field, it always generates a URL “/fernwanderweg/%slug”.

Are calculated Fields handled different in this case?

Best regards
Sebastian


#2

Ok i see if got an additional problem then, i cannot query objects via getBySlug in this case either.
I have to rethink how i should handle those objects then.