Request Form in Dataport

lavanyaballurgi
Member Posts: 235
Hello Experts,
How to add a request form in Dataport. I tried to add it the way I add in Reports but then I cant see the "FILE NAME" & text box (from which i used to browse the file to be uploaded) when I run the Dataport (where we give the path of csv file).
Help....
How to add a request form in Dataport. I tried to add it the way I add in Reports but then I cant see the "FILE NAME" & text box (from which i used to browse the file to be uploaded) when I run the Dataport (where we give the path of csv file).
Help....
0
Answers
-
We have all done this so many times. I can't figure out what you may have done wrong. But if you add some variables in the request form, the Options tab is definitely displayed when you run the dataport. Check for potential issues, like, did you add anything in the request form? etc.
Chn0 -
Oh yes I added an OPTION VARIABLE in the request form. Is that allowed?0
-
I am sorry for the mistake... Actually I can see the option tab but cant see the import/export box from which I used to brows the file for uploading0
-
Sure!
Set the property LookupMode in the Dataport as Yes. NAV will automatically add the selection of the file and path.
Chn0 -
Not able to find lookupmode in property of dataport
NAV2009 R2 version... screenshot attached..0 -
Yoy have to customise file selecting Dialogue box with your added field.0
-
Sorry typo... it is the property of the request form...0
-
Nope... you don't need to customize anything to get the filename from the OS.0
-
thanks Chinmoy but still it wont work.. What I found is this (and it works)
To enter the Filename I created a textbox with ID 1 (FileExplorer-Feature!), SourceExpression as some TextVariable "VarFilename" and code in OnAssist of this TextBox:
CurrDataport.FILENAME := VarFilename;
I guess this is what DEV meant right?0 -
Making LookUpMode = Yes is hiding all the default option of Request form. In my idea we cant alter the Request form of a DP0
-
Yes, lavanyaballurgi you have done in right now.
Gud
0 -
Can't agree with you both. No code is needed to get filename for import/export on NAV dataports.
lavanyaballurgi: Please let me know what you find from the sample dataport I have sent you.
Chn0 -
Oh yes... I think I got it... Are you fetching values of some more variables in the request form? In that case you need to follow Dev I guess. But if it is only Filename no need to write any code.
Chn0 -
Well thanks to both of you & sorry for confusing you Chinmoy
0 -
Just conclusion:
If you add something to the request form, you need to add all "standard funcionality" manually. It means, if you need to have Export/Import radiobuttons, you need to add them and use appropriate CurrDataport.Import value. If you need filename selection, add textbox, set Control ID to 1, enable assistedit = yes on it. Than use the value as CurrDataport.FILENAME. I think this is teached on first day of developer classes... 8)0 -
And where are these developer classes given? I am tired of searching such course in India ](*,)0
-
lavanyaballurgi: check with Microsoft India, they organize these (through other training partners though) periodically. If you are subscribed to their news letters, you will come to know when and where these classes are held.
Chn0 -
Thanks Chinmoy.. will try to get into one..0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions