Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
17%
500 - 800 GB
6%
800 - 1200 GB
6%
1200 - 1500 GB
17%
1500 - 2000 GB
17%
> 2000 GB
22%
Total votes: 18

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 25th September 2018, 08:46
DivyaDya DivyaDya is offline
Newbie
 
Join Date: Sep 2018
Posts: 2
DivyaDya is on a distinguished road
Baan: 9.2 - DB: SQL - OS: Windows-10
Browse a file in Server/Loacal
Baan: Baan IVc4
C/S: Both

I want to browse file in a folder(Server and local)and how to get a full path of the file?
Reply With Quote
  #2  
Old 27th September 2018, 15:32
giggty's Avatar
giggty giggty is offline
Senior Member
 
Join Date: May 2017
Posts: 103
giggty is on a distinguished road
Baan: Infor ERP 10.6 - DB: MSSQL Server 2008 R2 - OS: Windows Server 2012
To open a client-side file browser you call client.upload.file(string dest) (for LN UI, available from TIV level 1900) or client2server("", string dest, boolean text.mode) (for BW).
Server-side file browser is only available in LN UI using FileManager.selectFile([string i.root.path], string i.start.path, string i.mime.filter, ref string o.file) (available from TIV level 2200).
Reply With Quote
  #3  
Old 27th September 2018, 16:53
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,122
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
See this http://www.baanboard.com/baanboard/s...ghlight=browse in the code and utilities session and see if it helps in anyway.

I do not use a file browser of any sort like what was posted. I typically just ask the user to provide the full path and file name. Then I just try to open it(I think it is like seq.open.local). If I do not find it then I give them and error saying something like file not found. If I do find the file, then I close where I found it, use client2server to move it up to the temp directory for baan. Then I open that file and read thru it to process it.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Question mr_suleyman Tools Development 37 11th November 2016 08:14
Undocumented Functions & Variables george7a Tools Development 81 30th September 2015 11:35
File Browse Server ArokLair Code & Utilities 4 23rd April 2015 05:21
Return value -2 on seq.open mmtmalone Tools Development 2 8th January 2014 22:03
bshell received SIGTERM manojsharma Tools Development 11 5th June 2008 09:22


All times are GMT +2. The time now is 15:10.


©2001-2018 - Baanboard.com - Baanforums.com