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

Discussion

Discussion

Issue with embedding a Form into a webpage

posted on April 22

Hello, I put the embed script into my webpage and it does not display anything. If I try a straight iframe to the form, I get a message that Laserfiche has refused the connection. 

Also, has anyone had any luck embedding a form into Looker Studio. It looks like Looker only accepts embed urls. 

Thank You,

0 0
replied on April 22

Are you using LFDS authentication? If so, you will need to add the domains allowed in the STS configuration page.

3 0
replied on April 22

We are using LFDS authentication. Would I need to add it to STS config page even if it is a public form I am trying to embed?

0 0
replied on April 23

Yes

0 0
replied on April 22 Show version history

I'm not entirely sure if this is what you're looking for, but if you're using a self-hosted environment, try the following:

Open your LF Web Portal Server and navigate in your browser to something like:
http://localhost/FormsConfig/#/advanced

Once there, go to the Advanced tab and look for the setting called SecurityXFrameOptions. Set its value to: ALLOW-FROM https://YOURDOMAIN.NAME

(replace this with the actual domain where you plan to embed the form in an iframe). e.g: ALLOW-FROM https://laserfiche.com 

After updating the setting, make sure to save the changes. In some cases, you may also need to restart the IIS services on the server for the changes to take effect.

3 0
replied on April 22

My SecurityXFrameOptions currently has a value of SAMEORIGIN. So, I replace that with ALLOW-FROM https://mydomain.name?

Thank You,

0 0
replied on April 22

Yes, you can replace it, try it and let us know

1 0
replied on April 23

Thanks @████████That worked! 

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

Sign in to reply to this post.