Need to make custom toolbar button that only displays when using a template named 'Invoices', passes in the current documentid and they can enter some text to update a sql table with that docid
Any Demos of this?
Searched for 'Custom Toolbar Button'
Need to make custom toolbar button that only displays when using a template named 'Invoices', passes in the current documentid and they can enter some text to update a sql table with that docid
Any Demos of this?
Searched for 'Custom Toolbar Button'
I'm pretty sure that ability is not available for custom toolbar buttons. I'll leave it to a Laserfiche employee to verify that though.
Can you give us more information on exactly what you are trying to do and why? I can't deduce it from your question.
I need a way to store 8000 char string into SQL and link it to the current DocumentID on the LF client.
This button should only appear when the current template in the LF client is Invoices'
This string is used to store GL coding string to integrate to the ERP. They do not want to use 2 text fields.
You can find sample code for setting up custom toolbar buttons here: https://support.laserfiche.com/GetFileRepositoryEntry.aspx?id=2878&mode=download.Check out the "Investigation Management" sample program. Basically your custom button will use the %(DocumentID) command line token, which will be replaced with the IDs of the currently selected entries. There is no way to disable a custom button based on the template, we will look into adding that to a future version.
it appears I do not have access to that file.
can you attach it in here pls
You may need to manually log in to the support site first (same account information as this site) then try the link again. After that it should work. The direct downloads don't prompt you for credentials if you aren't already logged in.
sorry Justin link does not work
cleared cache, cookies etc
copied the link directly into firefox
I tried the link from another computer and it worked there, it downloads the zip file directly.
nope not working
I can log into https://support.laserfiche.com no problem.
as soon as i paste /GetFileRepositoryEntry.aspx?id=2878&mode=download
to the end it just keeps asking m to log back in.
Your login must have more rights then mine
OK
https://support.laserfiche.com/GetFileRepositoryEntry.aspx?id=2257
works fine
change the last 4 chars to 2878
back to login screen
I think the permissions on the file were too restrictive, try it now.
I also am blocked from that download.
The basic idea that they are promoting is that you build a custom console application that takes command arguments or uses CAT to get the entry information. Then you use RA to check the assigned template. If the proper template is assigned, have your custom application proceed with the updates.
Your custom toolbar button calls your custom console application and you get the functionality that you are looking for.