LogicalDoc integrate with Asp.net application

Do you want to create a native client or integrate with third party applications: webservices are the solution.

Moderator: car031

shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Tue Apr 21, 2015 6:20 am

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
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Tue Apr 21, 2015 6:24 am

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
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Tue Apr 21, 2015 2:14 pm

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
shatzing
Posts: 80
Joined: Tue Jan 21, 2014 9:46 am

Re: LogicalDoc integrate with Asp.net application

Tue Apr 21, 2015 4:06 pm

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)
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Wed Apr 22, 2015 6:40 am

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.
Attachments
Loding.png
Loding.png (14.84 KiB) Viewed 17132 times
shatzing
Posts: 80
Joined: Tue Jan 21, 2014 9:46 am

Re: LogicalDoc integrate with Asp.net application

Wed Apr 22, 2015 8:25 am

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)
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Wed Apr 22, 2015 11:02 am

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
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: LogicalDoc integrate with Asp.net application

Thu Apr 23, 2015 4:03 pm

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.

Return to “Web Services”

Who is online

Users browsing this forum: No registered users and 24 guests