Override location in placement.info file or set location outside of placement.info

Topics: Troubleshooting, Writing modules
Oct 25, 2011 at 7:45 PM

Hi Chaps,

Having a problem setting the location of a field outside of the Placement.Info file, here is what I have tried!!


return ContentShape("Fields_MailCapture_Selectlist", GetDifferentiator(field, part),
                                () => shapeHelper.Fields_MailCapture_Selectlist(ContentPart: part, ContentField: field, Name: field.Name, Value: field.Value, SelectListItems: listItems, Prefix: GetPrefix(field, part)))

But doesnt appear to be working. It looks like the code always uses the placement.info file and ignores the .Location()

Any ides?

Cheers, Nick

Oct 26, 2011 at 12:34 AM

Never tried that, but could it be that the Placement.info file has a higher priority?

It may be that Placement.info overrides location settings in code.