Page 2 of 3
Re: LogicalDoc integrate with Asp.net application
Posted: Tue Apr 14, 2015 11:26 am
by agaspa
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
Re: LogicalDoc integrate with Asp.net application
Posted: Thu Apr 16, 2015 6:18 am
by shrikant
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.
Re: LogicalDoc integrate with Asp.net application
Posted: Thu Apr 16, 2015 9:41 am
by shrikant
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
Re: LogicalDoc integrate with Asp.net application
Posted: Thu Apr 16, 2015 10:22 am
by agaspa
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
Sessions expire automatically after 15 minutes if no activity is performed
Re: LogicalDoc integrate with Asp.net application
Posted: Sat Apr 18, 2015 8:16 am
by shrikant
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
Re: LogicalDoc integrate with Asp.net application
Posted: Sat Apr 18, 2015 12:52 pm
by agaspa
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
Re: LogicalDoc integrate with Asp.net application
Posted: Sat Apr 18, 2015 12:58 pm
by agaspa
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
Re: LogicalDoc integrate with Asp.net application
Posted: Mon Apr 20, 2015 6:30 am
by shrikant
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
Re: LogicalDoc integrate with Asp.net application
Posted: Mon Apr 20, 2015 8:25 am
by shrikant
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
Re: LogicalDoc integrate with Asp.net application
Posted: Mon Apr 20, 2015 9:36 am
by shatzing
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