Developer forum

Forum » Templates » Search option Database Publisher template

Search option Database Publisher template


Reply

<p>Our website is configured to use Custom URLs (so that we get nice readable names in the address bar of the browser).</p> <p>&nbsp;</p> <p>Within our website we use the Database Publisher to display some data from an Excel or Access datasource.</p> <p>&nbsp;</p> <p>We experienced a problem that the search function within these data didn't work, after some research i noticed that a hidden field in the search form of MasterListGen.html was the problem.</p> <p>&nbsp;</p> <p>The line:</p> <p>&nbsp;</p> <p>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;ID&quot; value=&quot;&lt;!--@PageID--&gt;&quot; id=&quot;ID&quot;&gt; </p> <p>&nbsp;</p> <p>does not seem to work correctly when Custom URLs is enabled.</p> <p>&nbsp;</p> <p>For now, the solution is to remove this line and it works.</p> <p>-Emil</p>


Replies

 
Reply

Oops. double post.

 

The website gave an error while i was posting this message: "Object reference not set to instance of an object".

 

 
Reply

We're currently fixing the problem with the posting:)

 

What page do you reach, when you post without an ID?

 
Reply
Sorensen wrote:

We're currently fixing the problem with the posting:)

 

What page do you reach, when you post without an ID?

I just get the same page again, but now with the filtered results. So it's ok. ;-)

 
Reply

What's the content of the action attribute of the form tag? Just curious:)

 

You must be logged in to post in the forum