Page 3 of 3

Re: LogicalDoc integrate with Asp.net application

Posted: Tue Apr 21, 2015 6:20 am
by shrikant
Hi Shatzing

we are engineering group so we have many different types of files.

I have tried the link "http://localhost:8080?sid=sidvalue&docId=documentID" but it is only highlight the document.

can we directly open it within logicalDoc viewer.

Please suggest possible ways.

Regards
Shrikant

Re: LogicalDoc integrate with Asp.net application

Posted: Tue Apr 21, 2015 6:24 am
by shrikant
Hi Shatzing

I have one more question please can we call document upload function with javascript/JQuery.

actually we would like to implement these function with client script only.

Regards
shrikant

Re: LogicalDoc integrate with Asp.net application

Posted: Tue Apr 21, 2015 2:14 pm
by shrikant
Hi Shatzing

please could you tell me how can we open logicalDoc application within iFrame. actually our application is dependent on iFrame.

I have tried a Lots to open in iframe but not getting success.

Thanks for your kind help. awaiting for your positive response.

Regards
Shrikant

Re: LogicalDoc integrate with Asp.net application

Posted: Tue Apr 21, 2015 4:06 pm
by shatzing
Hi Shrikant,
you can open the preview of a document in an iFrame by composing a Url like this:

Code: Select all

http://localhost:8080/prev/index.jsp?sid=sidValue&docId=docID&fileVersion=1.0&lang=en_US&print=true&zoom=100&key=flexpapercode
For what regards the flexpaper code you can get it from your context.properties settings file of LogicalDOC
(Note use use the complete code)

Re: LogicalDoc integrate with Asp.net application

Posted: Wed Apr 22, 2015 6:40 am
by shrikant
Hi shatzing

Thanks for your kind help it is relay helpful for us.
but we still facing one issue when we are trying to open logicalDoc in ASP.Net webpage's within iFrame as giving below:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication1.WebForm3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<iframe src="http://localhost:8080?sid=a3bd27ad-26bf ... folderId=4" style="width:100%;height:100%"></iframe>
</div>
</form>
</body>
</html>
at that time, logicaldoc default screen is showing loding symbole only in iframe as attached screen.

Re: LogicalDoc integrate with Asp.net application

Posted: Wed Apr 22, 2015 8:25 am
by shatzing
1) check that logicaldoc functions properly
2) check that the session is still valid
3) make sure you have not exceed the number of available sessions (5 on the trial version)
4) Clean the browser cache (perhaps this is the most important)

Re: LogicalDoc integrate with Asp.net application

Posted: Wed Apr 22, 2015 11:02 am
by shrikant
Hi shatzing

Thanks for your reply but it is working only in IE browser not in another browser.

I have checked again as per your guidance.

Regards
Shrikant

Re: LogicalDoc integrate with Asp.net application

Posted: Thu Apr 23, 2015 4:03 pm
by agaspa
Hi Shrikant,

be sure to clear the cache of your browser,
also you need to know that the preview is built using Adobe Flash technology,
therefore you must make sure you have the plugin installed in your system.