Hi,
hopefully a simple question, but one which I can't track down an answer for.
I have created a dynamic list and want to add a field that just has a constant for a value, e.g. in the select statement it appears as
SELECT 0 AS DummyField, ... other fields ..
FROM ....
how do I do this using fields.DefineField ? As a dirty workaround I am subtracting one field from another using an expression.
fields.DefineField(new EntityField("DummyField", ProductFields.StatusId - ProductFields.StatusId), 0);
What I was hoping for was something along the lines of
fields.DefineField(new EntityField("DummyField", 0), 0);
Thanks in advance,
Darren