Store data on local disk from extension panel

Hi,
I'm trying to write an extension to InDesign and I use the following code to store a simple string in the encrypted data store that is available in Air:
      var hostnameBytes:ByteArray = new ByteArray();
      hostnameBytes.writeUTF("http://www.google.com");
      EncryptedLocalStore.setItem("hostname", hostnameBytes);
Then, I use the following code to retrieve the data from storage:
    storedValue = EncryptedLocalStore.getItem("hostname");
    if (storedValue != null)
          serverName = storedValue.readUTFBytes(storedValue.length);
However, the above does not work within the context of the extension. Do we have access to the encrypted data store in the extensions? Is there anything else that I need to do to get this to work?
Thanks,
Bulent

Hi Jey,
Thanks for your prompt replay.
Unfortunately, Iu2019ve tried both your suggestions without success. Smartforms behaves just like in case of GUI_DOWNLOAD. There is no file saved on disk.
Do you have any other idea?
BR,
Baske

Similar Messages

  • How to save internal table data to file on local disk from smartforms?

    Hi there,
    I'm trying to save internal table data into .csv file on presentation server from within smartforms using GUI_DOWNLOAD function.
    This function works fine from abap program, but when I call it from smartforms it does nothing. Form prints ok and there is no file created on local dick.
    Is there a way to save smartforms internal table data to local disk?
    Thanks in advance,
    Baske

    Hi Jey,
    Thanks for your prompt replay.
    Unfortunately, Iu2019ve tried both your suggestions without success. Smartforms behaves just like in case of GUI_DOWNLOAD. There is no file saved on disk.
    Do you have any other idea?
    BR,
    Baske

  • Install EBS on local disk from remote win 2003? Can't pass file space check

    I have a portable 250G hard disk on my poor performance win xp,I want to install EBS 12 on my portable hard disk,but I xp system's performance is poor,so I connect to a fine performance win 2003 through mstsc and I can access my 250G hard disk from remote computer win 2003;
    But when I indecate to use remote hard disk "\\tsclient\M\ebs" as my base directory,I meet some err log like below:
    RW-20012: Error: - Free disk space on system returns zero:
         probable cause - mount point does not exist.
    RW-20013: Error: - Not enough free disk space on system:
    Database ORACLE_HOME = \\tsclient\M\ebs\db\tech_st\10.2.0
    required = 3280.0
    actual = 0.0
    If I choose local disk as my base directory ,It pass the file space check;
    Can anyone meet such problem? Please help me ,thanks in advance!

    Instead of using "\\tsclient\M\ebs\db\tech_st\10.2.0" as a directory path, map this network drive as any other free drive (i.e. F:\, G:\ .. etc). You should be able to proceed with the installation then.
    If you need more details about mapping network drive, please refer to:
    Windows XP: Mapping a network drive
    http://www.microsoft.com/windowsxp/using/networking/maintain/mapdrive.mspx

  • How to insert data into local database from oracle server

    I am new in C#.
    I am trying to design a local database in my C# project and I am trying to sync my database with our oracle server. I can login using oracle server. But I can't insert data into my local database from oracle server.
    anybody can help me ...............
    thanks..............................

    You can use SSIS package for that
    Start a new Integration Services project in Business  Intelligence Development Studio/ SSDT. Add a new SSIS package with a data flow task. Add a OLEDB source to connect to Oracle server and add a OLEDB Destination to connect to your local database.
    Select tables for source and destination. On executing package source data will get transferred to your local database.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to store data into a file from a host VI developed for Compact RIO

    Hi,
    I am new to the CompactRIo.I have developed a VI which runs on the FPGA(CompactRIO) which continuously monitors tha data from a system and i have developed a host VI to read the data and i am successfully getting the data into my computer and i want that data to store into a file.When i use the write to spreadsheet VI for writing into a file.The data is not written into file can anybody tell me why this is happening?

    Hi,
    The last one you said is working when i conected through it is working, whatever files i have  used earlier are there.Thanks  for that but i have few queries please answer me so that i acn proceed in my  project.
    1.As you said to connect to ftp://xx.xx.xx.xx i have seen some extra files along with my files waht are they? waether my data files are stored in flash memory of RT controller?if so, how to clear those files?
    2.Suppose i want to clean up the flash memory of RT contrller i.e suppose i have deployed some file earlier , now i want to cleanup those i dumped into the memory how to do that?
    3.How to disable the Application running on the RT controller when it powers on? i.e. when i switch on the power it should be connected but nothing hould be running on.
    4.I mean at the end of the experiment when i stopped the host VI by pressing stop button weather application running on the RT controller will stop and weather FPGA VI runnibg on that also stop if not how to stop?
    5.Suppose next time when i connect to ftp://xx.xx.xx.xx i dont want to keep earlier files there how to delete them?Because my doubt is if i am using the file name which is same as the prevoius one there is aproblem of appending the new data to the old file.?
    Regards,
    Vishnu

  • Regain keyboard focus from extension panel!

    Illustrator. Mac OS. If ANYBODY know any sort of HACK or workaround for this, please share. A workaround NEEDS to be made public so other poor souls like myself don't have to bang their heads quite as hard. Once I have this figured out I will write a lengthy post describing the trials and tribulations of a fresh extension developer to entertain you all. Lets talk about the wonderful speed of Actionscript, or the simple act of installing FB 4.7 and trying to get EB2 to work. Good times from the first minute on... but first, the last hurdle (well, before moving on to C++ plugin developement).
    Thanks in advance.

    Bleh,
    Found loseFocus() in CSExtension class. Frees up a couple keys, but not key combinations like undo.
    Settled on programming the common key commands into the pallet. Of course listeners work for every key combination except ones which use the COMMAND key.
    Thought about closing the panel when user hits command key and then setting a listener to reopen it when key is released. But as soon it is reopened, focus is lost again.
    Now what? Make an invisible extension that controls the panel? Don't know if that would fix and sounds like alot of work.
    What a damn PAIN IN THE BUTT!!! THIS BETTER BE FIXED IN CC VERSION OF ILLUSTRATOR!!!

  • Store images to local disk without content server

    Hello
    I want to setup a content repository to store content (images & docs) to file system.  I had a look in transaction oac0 and tried testing a few configurations but no luck.  This is only for a temporary\interim solution.  Is there a way to set this up without a Content Server being installed?
    Is this supported?
    Regards,
    Dave

    Dear Dave,
    I think the best way for this scenario would be to define a data carrier in transaction DC20. For this data carrier you can for exmaple maintain a network path where the originals are stored.
    In CV01N or CV02N you can then add the original and just enter the data carrier and the filename. To access the file in the network path you must not check it in. Till the file is checked out the system will always try to access the file in its original directory without needing any content server.
    Best regards,
    Christoph

  • Saving a File in local DISK from JSP

    Hi Techies,
    I had createe an xml file from jsp, I want to store it in localdisk like when we download some files from internet it will ask at what location u want to store.
    i.e the end user can give the location at which this xml file has to be stored.
    Looking forward for u r solutions??
    regards,
    Krish

    No ideas??

  • Need help with how to store data in array in from reading file

    i have a file named xxx.txt
    i need to retreive data from that file. the data that i want to retrieve is enclosed with << >>
    temp xxx-123 ccc << 90.5>>
    haha xxx-563 sss 85.2
    after a few lines, the another record appear.
    temp2 xxx-123 ccc << 190.5>>
    haha2 xxx-563 sss 885.2
    i would like to record down the data, 90.5 & 190.5, how do i go about doing so, will appreciated it if someone would guide me along. thanks

    After you have read a line from the file either
    find the location of << and >> and substring the stuff in between or
    use regex (regular expression) however this is advanced and may be beyond your level of understanding.

  • Store data when user exits from web application

    is there anyway to call a method when user closes browser and session finish
    thank you

    I usually just use a HttpSessionListener.
    What's the difference?Lots ......
    This is from javadoc
    public interface HttpSessionListener
    Implementations of this interface are notified of changes to the list of active sessions in a web application.
    The implementation class would be invoked and in its methods, could process any action on session creation/termination
    public interface HttpSessionBindingListener
    Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an HttpSessionBindingEvent object. This may be as a result of a servlet programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.
    The implementation class would usually be a bean. The bean thus has control to take any action it deems fit when its bound to a session or when its unbound from the session.
    Depending on the requirements, you could implement either of the two interfaces.
    Thanks,
    Ram.

  • Storing content (image) to UNIX local disk using content repository (OAC0)

    Hello
    I want to setup a temporary content repository in oac0 to write to local disk (UNIX file system).  The program calls content repository V6 which I have set up.  The V6 content repository attempts store image.  We have no Content Server for this piece of testing work.  Not data archiving is required.  Only content (image) storing to local disk.  Is there a way to setup content repository to store content to local disk without the need for a web service?
    thanks
    dave

    Dear Dave,
    I think the best way for this scenario would be to define a data carrier in transaction DC20. For this data carrier you can for exmaple maintain a network path where the originals are stored.
    In CV01N or CV02N you can then add the original and just enter the data carrier and the filename. To access the file in the network path you must not check it in. Till the file is checked out the system will always try to access the file in its original directory without needing any content server.
    Best regards,
    Christoph

  • Storage Spaces - Remove Physical Disk from Simple layout

    I am running Server 2012 RTM with a single storage pool containing 4 drives - 2.73TB, 1.36TB, 465GB and 148GB. There is a single virtual disk created, with thin provisioning, using the Simple layout, with a current maximum size of 2.73TB, and with 1.32TB
    allocated. I want to remove the 148GB drive and replace it with a 465GB drive. When I right-click the 148GB disk and select Remove, I get a warning that Windows will attempt to rebuild any virtual disks that store data on the disk I'm trying to remove, and
    that in order to succeed, the storage pool must have enough free space to accommodate the data from the disk I'm trying to remove. There is more than enough space in the virtual disk to accommodate whatever files may be stored on the 148GB disk - over 1TB
    unallocated. However, when I confirm that I want to remove the disk from the pool, I get the following message:
    This physical disk is used by one or more virtual disks that use the Simple (no resiliency) layout. To remove this physical disk, delete the following virtual disks: Simple
    Surely the fact that it's a simple volume (rather than mirrored/parity) shouldn't affect the ability to move the data off the disk? It appears that disk removal is implemented as a simulated drive failure, forcing a rebuild of the resiliency data, rather
    than by simply moving the data off the disk onto other available disks.
    Additionally, after I've attempted to remove the disk, it's now been marked as 'Retired'.
    Is there any simple way to remove this disk?

    Same problem here, but I have some workaround for the problem.
    But, even in Windows Home Server with its awesome disk extender (predecessor of Storage Spaces) you had to take the shares (meaning volumes in our case) offline so you could take out the disk from the pool.
    Agree that it would make more sense to be able to remove disk from the pool online and the technology is most likely is already there: online cluster moves with defragmentation API was there for years and ReFS moves clusters online when it detects disk errors.
    Anyway here is the process that may work for you if taking volume offline is an option in your case:
    Try to remove physical disk in Server Manager - it will fail with abovementioned error, but the disk will go into "Retired" state.
    Now provision a new Virtual Disk and a volume of your choice. Most likely you will pick the same disk and volume type as you already had, but this is the chance to change the topology. You should be able to do this since you have a lot of physical disk
    space, especially if you used Thin provisioning.
    It looks like at this point retired physical disk is not included into the new Virtual Disk provisioning, but it is still accessible via existing virtual disk.
    Copy over all files from your old volume to a new volume.
    Now delete old Virtual Disk.
    If you want - change disk name and volume letter of new virtual disk that you created and new volume to what you had before.
    Now in Disk Manager take failing physical disk offline.
    Replace failing disk, initialize new disk and add it to the pool.
    Note: for me sometimes removing disk in via Storage Pool management GUI does not mark it as "Retired". In this case you can open PowerShell as Admin and assuming you want to remove PhysicalDisk2 - run the following command:
    Set-PhysicalDisk -FriendlyName PhysicalDisk2 -Usage Retired
    HTH

  • ASO and storing data to multiple disk volume

    Hi,I use Essbase Administration Services 7.1 on Win2000.I use ASO type of OLAP application. I would like to set storage to disk D: (the default is C:). How to to set storage disk volume for ASO type of applications?For block storage type OLAP application is in the database Properties tag in Storage tab. What about ASO type of applications?Is it posible to store data two multiple disk volumes?Thanks,Grofaty

    It is a bit different for ASO models - you need to modify the tablespaces, which are found in the properties of the APPLICATION, not the database.In EAS right-click the app and choose Properties. Go to the Tablespaces tab and that should be what you are looking for.Regards,Jade---------------------------------Jade ColeSenior BI ConsultantClarity [email protected]

  • Download data from Screen to local disk

    Hi all,
      I have developed a Module pool program. I want to download the data from Screen to local disk in Word format.
    Example :-
    Name XYZ       Surname ABC     Date of Birth  00/00/9999
    Address XXXXXXXXX
    Number of Dependent
    1)  ABC      LLL          CCC    00/00/0000
    2)  XYZ      ABC          XXX    00/00/0000
    3)  ABC      LLL          CCC    00/00/0000
    Is there any function module which does this
    Thanks in Adv

    Hi,
    the simplest and easiest answer that I can think of is :
    1. Press Ctrl Y.
    2. Select the area of the screen you want.
    3. Press Ctrl C
    4. Press Ctrl V on your word document.
    5. :-).
    Regards,
    Anand Mandalika.
    P.S. Alternatively, you can use the print screen option on your keyboard.

  • File DownLoad from R/3 to Local Disk through Web Dynpro

    Hi,
    I have a zebra print spool, to be saved in the local disk. For this, I have an RFC which will store the document in Portal Server KM folder and will give the file name for web dynpro app. The web dynpro app will search the KM Directory, and will enable the user to save the file on the local disk.
    Is it right approach? Is there any other approaches which would be efficient. BTW, I have files from 4k to 12k size. Can I directly attach it to the context variable and store it directly onto the local disk.
    I am running Netweaver2004 SP16. I cant use Input stream, does this affect the performance?.
    Thanks, I appreciate your time.

    Hi Raj,
    you have the name and the full path of the file you can access the file through FILE IO as the file is on portal server only and then you can use the File Download UI in web dynpro to download the file
    Ninad

Maybe you are looking for

  • Cisco Phone VPN

    Probably a stupid question, but if you connfigure a Cisco VoIP phone for SSL VPN, does it provide VPN connectivity to the switch port on the back of the phone? Would a laptop connected to it get corporate access?

  • Incoming NCP packets have been dropped due to IP fragmentati

    I have installed a new Netware 6.5 SP6 server at a remote location. There is BorderManager server already at this site. The new server will eventually replace this server and is configured with a PRIVATE and PUBLIC NIC card. The remote location conne

  • Oracle Workflow Error

    Hi, When I enter the username and password in the Oracle Workflow builder, I get the following error. Im able to login correctly from SQL*Plus, my tnsnames has the service name and other details. I can also execute the process flow in OWB. The only p

  • Adding contacts

    When trying to add a contact, I'm told I need to send a request to the person who has already emailed me her contact name. How does this work? 

  • HT201412 ibooks crashing on opening

    Anyone else having trouble with ibooks I open it to read and it crashes within seconds Any ideas