Browse users presentation server directory and save a text file in it
Hi All,
We have a requirement in which I need to provide two buttons Browse and Export in CRM web UI with following functionality:-
1) On click of browse button user should have an option to browse and select a folder(not file) from presentation server(useru2019s computer).
2)Once user selects a folder and click export button, I need to save a text file in this folder.
Any help on any of the above two requirements will be highly appreciated.
Regards,
Vimal
Hey Vimal,
did you find a solution for your problem?
Actually I'am facing exactly the same issue.
Thank you very much.
Regards
Marc
Similar Messages
-
How to list the contents of an OSX directory, and output to text file?
hello there any hints with any known program that does following
I have recorded my music directory to DVD and now i would like to make an .txt file what the dvd contains...cos its way of hand to write all 100xx files by hand...
How to list the contents of an OSX directory, and output to text file?
any prog that does that? any hints?
best regardsThis script makes a hierarchical file listing all files in a folder and subfolder:
Click here to launch Script Editor.
choose folder with prompt "Choose a folder to process..." returning theFolder
set theName to name of (info for theFolder)
set thepath to quoted form of POSIX path of theFolder
set currentIndex to theFolder as string
do shell script "ls -R " & thepath returning theDir
set theDirList to every paragraph of theDir
set newList to {"Contents of folder \"" & theName & "\"" & return & thepath & return & return}
set theFilePrefix to ""
repeat with i from 1 to count of theDirList
set theLine to item i of theDirList
set my text item delimiters to "/"
set theMarker to count of text items of thepath
set theCount to count of text items of theLine
set currentFolder to text item -1 of theLine
set theFolderPrefix to ""
if theCount is greater than theMarker then
set theNestIndex to theCount - theMarker
set theTally to -1
set theFilePrefix to ""
set theSuffix to ""
repeat theNestIndex times
set theFolderPrefix to theFolderPrefix & tab
set theFilePrefix to theFilePrefix & tab
if theTally is -1 then
set theSuffix to text item theTally of theLine & theSuffix
else
set theSuffix to text item theTally of theLine & ":" & theSuffix
end if
set currentIndex to "" & theFolder & theSuffix
set theTally to theTally - 1
end repeat
end if
set my text item delimiters to ""
if theLine is not "" then
if word 1 of theLine is "Volumes" then
set end of newList to theFolderPrefix & "Folder: > " & currentFolder & return
else
try
if not folder of (info for alias (currentIndex & theLine & ":")) then
set end of newList to theFilePrefix & tab & tab & tab & "> " & theLine & return
end if
end try
end if
end if
end repeat
open for access file ((path to desktop as string) & "Contents of folder- " & theName & ".txt") ¬
with write permission returning theFile
write (newList as string) to theFile
close access theFile -
Search PDF contents for ISBN number and save to text file
Hi,
Hoping someone can help me create a script that can find the ISBN inside of a PDF and write that filename and number to a text file.
I've found a way to do this using java using and document processing in Acrobat but I need to do it by pointing at a folder of files.
Format desired would be:
original filename.pdf, isbn#
Any help is appreciated,
Johnyou could give the command line tool ps2ascii a try. It also works with pdf and you could pipe it's output (pure text) to a nice perl/ruby/grep/sed/awk 1-liner to extract the isbn numbers (still have to read a book about Regular Expression ;-) )
I did a quick & dirty version, but I think you will have to install ps2ascii first. I don't remember but I think it was installed with ghostscript (using macports)
--30.04.2011 hubionmac.com
--quick & dirty script to extract first ISBN-Number of a PDF file... just uses grep, maybe some nice reqexp would do a better job!
set myselection to choose file of type {"pdf"} with multiple selections allowed
set myoutput to ""
repeat with pdf_file in myselection
tell application "Finder" to set pdfname to name of (pdf_file as alias)
set pdf_file_posix to quoted form of POSIX path of (pdf_file as alias)
do shell script ""
try
--first add the path, otherwhise s2ascii will fail since it cannot find ghostscript (gs) which is also installed in /usr/local/bin (think by macports)
set ISBN_String to do shell script "PATH=\"$PATH:/usr/local/bin\"; /usr/local/bin/ps2ascii " & pdf_file_posix & " | grep -m 1 ISBN"
set foundLine to true
on error
display dialog "maybe \"" & pdfname & "\" does not contain a ISBN at all"
set foundLine to false
end try
if foundLine is true then
repeat with s in every word of ISBN_String
try
get s as integer
set s to s as text
set foundisbn to true
exit repeat
on error
set s to ""
end try
end repeat
end if
set myoutput to myoutput & pdfname & tab & s & return
end repeat
tell application "TextEdit"
activate
set a to make new document
set text of a to myoutput as text
end tell -
How to change and save a new file in Edge web Lumira server for Team ?
Hi Lumira folks,
I've installed SAP Lumira 1.0, Edge edition and View a sample 'Dairy Wholesaler-Sample"
I'd like to change it and save as new file, but "Save" button is disabled and when I put my mouse over the button,
it says "Save Option is disabled in this version".
Is there any idae how to change and save as a new file in Lumira Edge ?
Many Thanks.
JHI've just found the reason as below.
http://scn.sap.com/community/lumira/blog/2015/03/20/lumira-server-for-teams-edge-edition-version-compatibility
The current version of Lumira
server for teams is 1.0. This version uses Lumira 1.22 as its 'engine' as this
was the version of Lumira Desktop that was shipped at the same time.
Hence with the current Lumira
version compatibility; namely that a newer version of the product can open an
older document, but an older version cannot open a newer document, care must be
taken when deploying Lumira server for teams.
Lumira server for teams is only
compatible with Lumira desktop 1.22. If you intend to deploy Lumira server for
teams, ensure your desktop users do not move to a later version of the desktop.
Content created in a later version of Lumira desktop can be uploaded and shared
via Lumira server for teams, but it cannot be viewed or edited online in the
browser.
Ensure desktop users disable the
auto update capabilities in the desktop preferences, and set the update to
none. -
Difference between Presentation Server Cache and BI Server Cache
Hello Experts,
What is the Diff b/w Presentation Server Cache and BI Server Cache
Thanks,
S GoudaHello,
Okay, what do you want to do about caching at BI server and Presentation server.
A nQSXXXX.tmp is a temporary cache file which maintained by the BI Server for an analysis request by a user and is kind of shared data between the OBI Server and the OBI Presentation server. This is refereed as the 'Cursor Cache' which could be managed by going thru Administration> Manage Sessions > Clear Cursor Cache.These .tmp files are it is not related to BI Server cache.
By Default, the BI Server Cache is stored in the and stored as NQSxxxxx.tbl files. [middlware_home]/instances/instance1/bifoundation/OracleBIServerComponent/coreapplication_obis1/cache]
Caching occurs by default at the subrequest level, which results in multiple cache entries for some SQL statements. Caching subrequests improves performance and the cache hit ratio, especially for queries that combine real-time and historical data.
Below are some useful links for cache management in OBIEE 11g.
http://oraclebisolutions.blogspot.com/2013/02/obiee-11g-obi-server-and-presentation.html
http://drazda.blogspot.com/2012/10/obiee-11g-cache-management.html
http://allaboutobiee.blogspot.in/2012/03/cache-management-purging-cache.html
Pls mark itf this helps. Else post the exact questions you have about this post.
Thanks,
SVS -
Read application server directory and file
Hi,
I'm using the FM "RZL_READ_DIR_LOCAL" to retrieve the application server directory and filename. The returned result contain all the directory name and filename. Is there any other FM can separate the result into directory and file??
Regards,
Kithi
Ya One more FM is there - Call Function Gui Upload.
It will read the file from the app server.
See this Example:-
Refer this:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB * &----
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
reward if help. -
What is the difference between Presentation server administrators and Admin
Hi Gurus,
In the groups in dashboard privileges, I can see two groups called Presentation Server Administrators and Administrators.
Can anyone tell me the difference between the two?
Regards,
AnuragThere is no such group as Administrators, that's a group someone created. The default group is Presentation Server Administrators.
-
How to Save a text file in the server?
hello
i just want to save an text file in the server.
My idea is to load an xml text file maybe make some changes
and then save it back to the server, so i can avoid all the
database/php work because i know nothing about it.
thank youhello
i just want to save an text file in the server.
My idea is to load an xml text file maybe make some changes
and then save it back to the server, so i can avoid all the
database/php work because i know nothing about it.
thank you -
How can I extract certain pages from my document and save as another file?
How can I extract certain pages from my document and save as another file?
You would need Adobe Acrobat to do that, not Adobe Reader.
-
I have a Macbook Air (july 2012) with OS X 10.8.3 installed. I have dvds with .vob files and have Quicktime Version 10.2 (603.12). I can't play the DVDs. There are some features of QT that I like, e.g. precise frame selection and save as .png file-help. Am I missing some Apple software? I thought QT for Mountain Lion could convert the .vob files - is there some setting that I have missed?
Any suggestions that preserves a simple workflow much appreciated.arthur wrote:
Perian is here: Perian - The swiss-army knife of QuickTime® components
Perian will be retired soon. -
How can I edit and save a raw file in jpeq and open it in windows live photo gallery
how can I edit and save a raw file in ps elements 10 and open it in windows live photo gallery?
Change to 8 bit mode before clicking the Open Image button, then jpeg will become available as a choice.
Click to view image -
I cannot download and save an eps file in Adobe Photoshop Elements 12
I am unable to open and save an eps file in Adobe Photoshop Elements 12
No, EPS is one of the formats that adobe removed support for, starting with PSE 11.
-
Way to edit and save .AC3 audio files?
Anyone know if there is a way to edit and save .AC3 audio files in Audition 3?
Every time you open any coded file at all in Audition, you lose quality if you resave it in anything other than an uncompressed format. With most formats, what is even worse is saving them in a different compressed format, because you end up with twice as many different coding artefacts.
What you need to understand is that all of these formats are distribution formats, not editing ones. The basic principle is that you work in an uncompressed format until the last possible moment - ie, distribution. And that, ideally, is the only time you use a compressed format at all. So if you want to use something that's compressed, you uncompress it once, and don't recompress until you absolutely have to. -
IS IT POSSIBLE TO HIDE, RETAIN AND SAVE A TEXT CHAIN ON THE IPHONE AND IPAD?
Is it possivle to hide, retain and save a text chain on ipone and ipad to keep completely private?
Copy the text chain to your PC. There are 100s of different applications available that will help you do that. Just do a google search.
-
I have a problem during the collect data and save it in file with the HP8753C
Hello,
I'm using the "HP8753 collect and display data.vi" with the functionnality "save" in file (.txt or xls).
When I'm using it to collect and save data one time to time, I have no problem. But when I would like to use it to collect and save several data with a structure "For", the HP8753 status will become blocked and the collect and save data in file is disable.
The only function "collect data" with a structure "for" is Ok but will become not OK with the option "save" in file. Why, please ?Hello,
Thank you for contacting National Instruments.
It sounds like your instrument is "hanging" or "freezing" when you try to read and save data from it in LabVIEW.
I took a look at the context help for that particular VI. It appears that if you attempt to read data from the HP8753 while it is also taking measurements, it can cause the instrument to hang. This may be the problem you are experiencing.
Look over your program and ensure that the instrument is not trying to take new measurements as you read data from it in LabVIEW. Sequence structures may be useful in this regard. If you are still experiencing problems, however, let me know.
Matthew C
Applications Engineer
National Instruments
Maybe you are looking for
-
I've tried going through every sort of troubleshooting thing on here, it's got great advice but none of it worked Please can someone help, it would be much appreciated
-
Hi, I have a MacBook7, 1, and it keeps freezing. Mac Info: - Version 10.6.8 - Processor 2.4 GHz Intel Core 2 Duo - Memory 2 GB 1067 MHz DDR3 - Startup Disk Macintosh HD The first time it froze, I had been using it for about 2 hours, and I was watchin
-
Trouble compiling python-scipy-svn
Can somebody point me in the right direction?? here is the copy and paste from right before it errors out. customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building 'sci
-
Oracle 8i and Forms 6i Installation together is a nightmare
I installed 6i forms (downloaded version) first, then successfully installed 8i (enterprise), and I cannot connect SQL Plus using scott/tiger. I need help, PLEASE!!!
-
Hello all I need to use Recovery manager as a primary tool in my next plan to do backup and recovery I have all information about it (in theory) to be plain, I didn't make it before. So, If anyone operate the database to backedup using RMAN could he