Quantcast
Channel: SCN : Popular Discussions - SAP Enterprise Portal: Migration and Upgrade
Viewing all articles
Browse latest Browse all 767

NW 7.4 PropertyType compiling error

$
0
0

Hi,

 

I have a problem with a section of code, whch I am unable to resolve either the change from version 7.0 to 7.3 or the code needs adjusting.

 

SearchProperty[] PropFromSessionTemp=new SearchProperty[ctx.getSearchProperties().length+1];
SearchProperty newProp=new SearchProperty();
newProp.IPropertyName = "{http://sap.com/xmlns/cm/}TestProperty";
newProp.operator =  IQueryEntry.PROPERTY_OPERATOR_EQUAL;
>>newProp.propertyType = PropertyType.STRING;<<
newProp.value1="Form";
PropFromSessionTemp[0]=newProp;

 

If anyone could help as the line causing a problem is in BOLD and marked with <<, then this would be very useful and I would be grateful.  I am sure it something simple, which needs changing.

 

Thanks


Viewing all articles
Browse latest Browse all 767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>