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

Question

Question

backup forms

asked on April 14, 2022

I would like to export the forms and processes to Git, so I can track the changes outside of LF. The reason is that I would like a shadow copy. 

I did look at https://answers.laserfiche.com/questions/174850/Automated-exportingbackup-forms-XML#183760 and it would kind of meet the need, but it's not automated. 

 

The use case is that while we work in LF to build the form, I might want to compare to older versions of the forms and the process diagram steps. 

 

The XML format would be enough, but I want to make a job to update GitHub for me and the team as a nightly thing. 

0 0

Replies

replied on September 12, 2024 Show version history

Partly. I connected to the database and export a list of the links. I opened up Chrome's dev console to find what api /url was being called to downlaod the file and then I just replaced the ID using a query.
 

select name,'https://[[yourdomain]]/Forms/Handlers/BusinessProcessExport.ashx?BusinessProcessId='+ CONVERT(varchar(5), bp_id)+'&IncludeBP=true' link

from [LF_Forms_laserfiche-web].[dbo].[cf_business_processes]

where is_activated =1

and is_deleted = 0

order by name;

 

I could make a Python, Java, or ... to loop that for me and put it in a repo folder.

1 0
replied on September 12, 2024

Thank you for sharing this solution. I appreciate the detailed steps and will try to adjust to suit my scenario.

0 0
replied on September 12, 2024

Hey, were you able to find a workaround for this issue?

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

Sign in to reply to this post.