Yeah I think the Cross Domain issues comes into play with javascript. This approach should work. Let me do a POC and come back if its not working. Meanwhile please let me know if we have different visualizations. Pradeep.
> From: [email protected] > To: [email protected] > Subject: RE: FM-Online connect with Manual > Date: Wed, 16 Sep 2015 10:22:32 +0530 > > > <form target="manualFMOnline" action="..." method="post">...</form> > Hmmm but the above code will be in our manual , we should get redirected to > the FM-Online domain right. That's where I am doubting whether cross domain > POST will be allowed through browser redirection. > Ok Even before going there , Let me tell my understanding so that lets check > if we are on the same page. > 1. FM Manual website will have a button or a link saying "try it out" or > something like that.2. When the user clicks on the same he will redirected to > a new page(FM-Online) where the corresponding template and datamodel will be > prefilled and executed. > Am I right regarding this ? > Kindly let me know if you have visualised something different ? > Pradeep. > > > Date: Tue, 15 Sep 2015 22:39:21 +0200 > > From: [email protected] > > To: [email protected] > > Subject: Re: FM-Online connect with Manual > > > > Huh? I meant: > > <form target="manualFMOnline" action="..." method="post">...</form> > > > > > > Tuesday, September 15, 2015, 11:39:49 AM, Dékány Dániel wrote: > > > > > Won't something like <format target="manualFMOnline" > > > method="post">...</form> work? Anyway, I think both POST and GET > > > should do the same, but using POST should be the norm. With GET you > > > can get some very long URLs. While URL-s up to 2K length used to > > > work on most places, even URL-s over 256 bytes is sometimes considered > > > worrisome. > > > Pradeep Murugesan <[email protected]> írta: > > >>Hi Daniel, > > >> The initial idea was when people click from manual we POST to the "/" > > >> with template and dataModel and get the page rendered directly. We do > > >> not have any direct method to open a new tab and directly post data. > > >> Some round about ways were mentioned in web but nothing concrete. > > >>So I thought of > > >>1. Issuing a GET request to fmonline/ with formdata. This will help us to > > >>populate the fields.2. We will also see if formdata is not empty then we > > >>will call our execute via ajax. 3. If formdata is empty we will know that > > >>its a normal GET request (i.e not from manual) and render the empty page. > > >> > > >>Let me know your thoughts. > > >>Pradeep. > > >> > > >> > > >> > > >> > > >> > > > > -- > > Thanks, > > Daniel Dekany > > >
