We have a client that uses content templates to create all of their newsposts, however we have encountered an issue with this. (same issue if they try to copy the content instead).
Steps:
Create new 'newsnode' from a content template.
Populate with new data
Save and publish
Search for value in a textarea, which is present on the content template.
The new node will now appear in the results, even though the textarea on this node, doesn't have the value. This happens because Node.GetPropertyValue("propertyName") is returning the value from the content template, and not the value from the new node.
This can be fixed temporarily by publishing the new node, but will re occur again later on.
Using content templates gives problems in search
Hi all,
We have a client that uses content templates to create all of their newsposts, however we have encountered an issue with this. (same issue if they try to copy the content instead).
Steps:
This can be fixed temporarily by publishing the new node, but will re occur again later on.
Code used to search for nodes:
Does anyone have any idea why this is happening?
is working on a reply...