Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

PropertyCriteria ParentID?

Vote:
 
Hej! Jag skulle vilja kunna lägga till ParentID som en criteria i en sökning jag gör men jag får det inte att funka ordentligt jag testade så här: EPiServer.PropertyCriteria criteria = new PropertyCriteria(); criteria.Type = PropertyDataType.Number; criteria.Name = "ParentLink"; criteria.Condition = CompareCondition.Equal; criteria.Value = "194"; criteria.Required = true; PropertySearchControl.Criterias.Add(criteria); vad gör jag för fel eller hur ska det göras? /j
#12067
Mar 29, 2004 17:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.