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

agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: LogicalDoc integrate with Asp.net application

Tue Apr 14, 2015 11:26 am

You must pay particular attention to the name of the parameters, also you must have a SID of a valid session.
I have just tried on an instance of LogicalDOC Enterprise 7.2 and it works
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Thu Apr 16, 2015 6:18 am

Hi agaspa

I have download the enterprise trial version and evaluting it.
I have tried as your suggestion and passing SID as parameter http://localhost:8080/logicaldoc?sid=" + sid but still facing same problem not able to login.
also getting message after 4-5 hit "Reached the maximum number of sessions".
How can we avoid this please could you suggest me.

I have tried following way also to pass sid

http://localhost:8080/logicaldoc?ldoc-sid=" + sid

Please find the attachment kindly go through webform1 and click on access button.
Attachments
WebApplication1.zip
ASP.Net Integration project
(67.28 KiB) Downloaded 338 times
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Thu Apr 16, 2015 9:41 am

Hi agaspa

Now I am able to login with query string and passing the sid like this http://localhost:8080/?sid=" + sid .

I have one more question can we provide right in the folder on hierarchical order.
for example
folder A--> folder B--> folder c.

now i would like if i will give permission on folder c so user can see only the complete path but able to access the file of folder c only.

awaiting your kind help.

Regards
Shrikant
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: LogicalDoc integrate with Asp.net application

Thu Apr 16, 2015 10:22 am

shrikant wrote: I have tried as your suggestion and passing SID as parameter http://localhost:8080/logicaldoc?sid=" + sid but still facing same problem not able to login.
also getting message after 4-5 hit "Reached the maximum number of sessions".
How can we avoid this please could you suggest me.
In order to work with the Enterprise edition the path you have to use is different:

Code: Select all

http://localhost:8080/?sid=sidvalue
You received that message because you left too many open sessions and have reached the limit of 5 sessions open (it is the maximum for the trial version)
You have to worry about releasing to the system after you finish using them

Code: Select all

authService.logout(sessionID);
Sessions expire automatically after 15 minutes if no activity is performed
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Sat Apr 18, 2015 8:16 am

Hi agaspa

Please could you provide me any client code in C# for print the document from logicalDoc DMS.

awaiting for your kind help.

Regards
Shrikant
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: LogicalDoc integrate with Asp.net application

Sat Apr 18, 2015 12:52 pm

Hi Shrikant,

you should download the document from LD, then you can send it to printer

The examples in C# are published on the SourceForge project
http://sourceforge.net/projects/logical ... p/download
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: LogicalDoc integrate with Asp.net application

Sat Apr 18, 2015 12:58 pm

You can get the pdf conversion of a document the send this file to print

send pdf file to a printer - print pdf [duplicate]
http://stackoverflow.com/questions/1744 ... -print-pdf

Print existing PDF (or other files) in C#
http://stackoverflow.com/questions/2736 ... in-c-sharp
shrikant
Posts: 18
Joined: Fri Apr 10, 2015 11:56 am

Re: LogicalDoc integrate with Asp.net application

Mon Apr 20, 2015 6:30 am

Hi agaspa

Thanks for your help.but my requirement is different we can't re-write our file in pdf format our files are heavy file.
might be some file size should be around 1GB.

Please could you suggest me How can we open the file in our application viewer directly.

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

Re: LogicalDoc integrate with Asp.net application

Mon Apr 20, 2015 8:25 am

Hi agaspa

I would like to publish some document for public user therefore I would like to know could we find the publish path of document.

Regards
Shrikant
shatzing
Posts: 80
Joined: Tue Jan 21, 2014 9:46 am

Re: LogicalDoc integrate with Asp.net application

Mon Apr 20, 2015 9:36 am

shrikant wrote: How can we open the file in our application viewer directly.
What type of file you want to open?
LogicalDOC has a built-in engine for the preview of the documents, but it can't be controlled via url.

What you can do is ask for the thumbnail of the first page of a document (via web-service).
This is in the C# example project dotNET2WSClient

Or you can directly reach the detail view of the document (from which a user can view and edit all metadata and request the preview)
http://localhost:8080?sid=sidvalue&docId=documentID

Return to “Web Services”

Who is online

Users browsing this forum: No registered users and 24 guests