You are viewing limited content. For full access, please sign in.

Question

Question

Create custom WebLink search form XML file

asked on March 26, 2019

A user is having issues creating a custom search form in WebLink 10 because the login is failing.  They are looking for other methods to create the search form other than WebLink Search Form Designer.

Has anyone had experience creating the search XML file directly, without using the WebLink Search Form Designer?

0 0

Replies

replied on March 26, 2019 Show version history

I skipped the designer and created a custom aspx file with my own HTML fields, and I used JavaScript to build a WebLink search URL.

Basically, I capture the search parameters with my fields, then create my own URL based on the search URL syntax and open it in a new window when they click my Search button.

To handle login, I added the aspx header from one of the built-in pages at the very top before the doctype tag.

<%--<%@ Register TagPrefix="weblink" Namespace="WebLinkControls" Assembly="WebLinkControls" %>--%>
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Search.aspx.vb" Inherits="WebLink.Search10" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

Once I had the page working, I just linked it on the Welcome page as a custom link.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.