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

Question

Question

Looking Sample code on add a custom Button to the Web Client

asked on March 28, 2014

 Is it possible to add a custom web button to the web client?

If so need it to be able to read one of the Meta data fields.

 

 

0 0

Answer

APPROVED ANSWER
replied on March 28, 2014

EDM 302: Advanced Web Customizations from Empower 2014 covers adding custom buttons, including a case where the button needs to reference a metadata fields. The file I linked is a zip file that contains the code samples as well as the PowerPoint. Slide 35 is a good starting point, and Example 2 and 3 have examples of referencing metadata in custom actions.

 

A quick overview of adding a custom button that references document metadata:

  • Back up the original files and document any changes
  • Custom buttons are added by modifying CustomActions.xml, found in C:\Program Files\Laserfiche\Web Access\Web Files\Config by default
  • Referencing metadata requires a Web Access Server-side action. This can be done by editing CustomActions.cs, which is part of WebAccessCustomActions.sln. Create your custom function, then reference it from a case in the PerformAction function.
  • Compile the modified version of WebAccessCustomActions.sln and move the WebAccessCustomAction files to Web Files\bin
2 0
replied on September 8, 2015 Show version history

Dear Brianna,

Samples are good ,but I want to make something:-

1-Pass some value from my custom dialog.

in dobj.onclose function

2-Read returned value from my custom dialog.

3-Browse to anther folder location without using waWindow.location and waWindow.location.reload .

 

 

0 0
replied on September 8, 2015

I'm not sure what you are asking, as you've only stated generally what it is you are looking to make.

If you are looking for advice on a customization you're working on, you may wish to start a new post with specific questions, including samples of current progress. This allows community members that would like to assist you understand where it is you are having trouble (e.g., "I tried using the dobj.onclose function to pass a value, but I ran into error X. Here's my code:").

If you are looking for someone to provide you with with a pre-made or custom solution, there may be resellers or partners who would be able to do that.

0 0
replied on September 9, 2015

Thank you yes

0 0

Replies

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

Sign in to reply to this post.