November Happy Hour will be moved to Thursday December 5th.

[Error: No property "PropertyDocumentURL".]

Vote:
 

Hi,

I'm trying to Use EPiServer Property in my aspx page as follows :

<EPiServer:Property ID="EPiPropURLtoDocument" runat="server" PropertyName="PropertyDocumentURL" />

And the ASPX.cs file is also inherited from TemplatePage class.

But, In the web I'm seeing the message as "[Error: No property "PropertyDocumentURL".]"

When I tried with :

<EPiServer:Property ID="EPiPropURLtoDocument" runat="server" PropertyName="PageLink" />
I can see there is a pagelink.

Please help me, Why I'm failing to use 'URL toDocument' property?
#76229
Oct 21, 2013 14:36
Vote:
 

PropertyDocumentUrl is a type, while PageLink is a property name. I'm guessing you need to change your markup to


<EPiServer:Property runat="server" PropertyName="EPiPropURLtoDocument" />

    

#76233
Oct 21, 2013 15:50
Vote:
 

Hi Per,

Thanks for the Reply.

I trie your suggestion but, agin I got the Error message as : [Error: No property "EPiPropURLtoDocument".]

Actually, In the code :

<EPiServer:Property ID="EPiPropURLtoDocument" runat="server" PropertyName="PropertyDocumentURL" />

"EPiPropURLtoDocument" is something that I have given for the reference, but it is not used/created anywhere earlier.

#76237
Oct 21, 2013 16:39
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.