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

Question

Question

weblink 10.1 Customizations

asked on June 20, 2018 Show version history

I just upgraded a customer from Laserfiche Avante 10.2 Server to Rio Version 10.3.1 and upgraded Weblink from 9.2 to 10.1 

Now I am trying to fix a couple of small issues in Weblink 

In version 9.2 we were able to Remove the Records Manager Search option from the customers view but in version 10.1 we have added the same code into this CSS file WebLinkStyles.css but it does not seem to work? 

select[name="TheSearchForm:_ctl2"] { 
display:none; 

Does anyone know what the correct core would be to remove the Records Management option from the Weblink Portal.


The other issue we are trying to default the Search page to a specific Template at startup. in version 9 we edited the Search.aspx file but in 10.1 we find the code in Search9.aspx but changing the CSS to a specific template does not work? 

<weblink:searchform id="TheSearchForm" runat="server" DynamicFieldLimit="10000" Height="100%" AllowCustomization="False" ShowWebLink="False" ShowField="True" TemplateDisplayed="Vendor invoice" /> 
 

I would like to have Weblink open up to a search template called Vendor invoice. Does anyone know the code that I can use to make this happen please.

 

Does anyone have a list of the Weblink 10.1 Attributes

0 0

Replies

replied on June 20, 2018 Show version history
select.dropdown.recordsDropdown {
    display: none;
}

Should do the trick for removing the Records dropdown, but it doesn't change the size of that region so you do end up with a little extra whitespace; the following would address that particularly issue.

search-app .left div.searchOptions {
    height: auto;
}

I only tested this in the debugger, so you may need to add !important if these are overridden by the built-in CSS.

Not sure about the default template portion unfortunately.

4 0
replied on September 21, 2018

Can you elaborate on this customization a bit more?  I have added the code to the WebLinkStyles.css.  It does not seem to belong there.  It seemed to me one of the .JS files was a better option.  Either way I have not been able to hide the RME search option in Weblink 10.1.x.  Any help is greatly appreciated!

0 0
replied on September 21, 2018 Show version history

If I remember correctly, it needs to go in either Search.aspx or Search9.aspx

0 0
replied on December 1, 2018 Show version history

Version 10 uses Styles.css not WebLinkStyles.css

1 0
replied on December 1, 2018

Confirming that the code works if added to Styles.css in WebLink 10.  Thanks guys.

0 0
replied on December 3, 2018

You can also add your custom CSS to Custom\CustomWebLinkStyles.css

0 0
replied on December 15, 2020 Show version history

In WebLink 10.2, adding the following to \WebLink\Styles.css works:

select.dropdown.recordsDropdown {
    display: none !important;
}

search-app .left div.searchOptions {
    height: auto !important;
}

Seems there was some change to other elements in Styles.css between WL 10.1 and 10.2 that took higher CSS precedence over Jason's original code, so I simply added !important tags to force them to apply.

2 0
replied on December 16, 2020

Thanks Samuel

I tested the edit on my WL install and looks good.

I passed this along to the customer

Jeff Curtis

0 0
replied on February 1, 2023

Sorry to keep this going, but you guessed it.... I am trying to remove the Records Management section from Weblink 11 and have had no luck with the solutions above for the earlier versions of Weblink. Please help! Thank you.

0 0
replied on February 1, 2023 Show version history

@████████

Where are you adding the css? We haven't upgraded our production environment to 11 yet, but I just tried it out in our test environment and it still works.

Our test environment is running 11.0.2111.777

0 0
replied on February 2, 2023

Thank you, Jason. I am new to this but your reassurance that it still works helped. I found the section at the bottom of the Styles.CSS for "Custom Code" and put it in that section now and it worked. I had put it near the top of the CSS file originally.

0 0
replied on June 20, 2018

Thanks Jason This code works to get rid of the Records Management dropdown list in Weblink

 

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

Sign in to reply to this post.