I have added a new property on my document type. But when I go to retrieve it I get an error that the model does not contain a definition for this new property.
CS1061: 'FtCatalog' does not contain a definition for 'CategoriesBadges' and no accessible extension method 'CategoriesBadges' accepting a first argument of type 'FtCatalog' could be found (are you missing a using directive or an assembly reference?)
No idea why this has not updated or cannot be retrieved I renames some other properties on this document type and they are rendering fine. But I cannot retrieve a newly added property
Any ideas as this is very baffling to me.
Maybe I have to get the current page and retrieve the property that way, but that would be just hacky??
Few ooptions:-
1. Check if property exists in FtCatalog.generated.cs model
2. if exists, rebuilt the solution
3. Still if property does not exist then close and reopen the solution.
I think combined all these options property should start appearing again.
Error retrieving new property
I have added a new property on my document type. But when I go to retrieve it I get an error that the model does not contain a definition for this new property.
My View page is using:
and the error I get is:
No idea why this has not updated or cannot be retrieved I renames some other properties on this document type and they are rendering fine. But I cannot retrieve a newly added property
Any ideas as this is very baffling to me.
Maybe I have to get the current page and retrieve the property that way, but that would be just hacky??
Hi Naveed,
Few ooptions:- 1. Check if property exists in FtCatalog.generated.cs model 2. if exists, rebuilt the solution 3. Still if property does not exist then close and reopen the solution.
I think combined all these options property should start appearing again.
Cheers,
Shaishav
is working on a reply...