Access file object from flex web app

Hi all,
I want to access file object from flex web app. What should i do?
I have to take array from my XML. In XML there will be only dir path. So for taking file name from dir i have to access it and have to perform for loop on that dir.
What should I do?
Any Ideas?
Thanks,
-CK

Hi Michael
My question is that I dont want to give name of images in XML file.
In XML file there will be only path of image directory. So I need to find all image name from that image directory.
Thats why I want to access file object.
Any ideas?    

Similar Messages

  • Accessing Shared OneNote from Lync Web App

    When attempting to access a OneNote that has been shared in a Lync Meeting via Lync Web App, users are taken to OneDrive in a separate browser window and get an error that they do not have permissions to access the notes or that the notes do not exist.  Going
    to OneDrive I understand since the OneNote notebook is hosted on OneDrive (instead of Sharepoint), but I don't understand the permission error.  
    How are Lync Web App users supposed to access shared OneNotes without the presenter granting individual permissions to the notebook?  That method is too time consuming and not intuitive for end users.
    Mac users rely on accessing OneNotes via Lync Web App and OneDrive (OneNote Online) since there isn't a OneNote client for Mac and most of the time they will be joining meetings via Lync Web App instead of the 2011 client.

    It is not on Lync Web App side to control this behavior.
    You need permission to access the shared OneNote on OneDrive.
    You need to sign in even without Lync Web App.
    Lisa Zheng
    TechNet Community Support

  • How to access HttpRequest Object from Axis web service?

    Hi all,
    I have Axis web service named shoppingcartService,
    and i have ShoppingCartImpl as implemention class which
    implements passfamily() method
    When client access my web service, ShoppingCartImpl's passFamily method is executed.
    I have one more servlet under my axis web application which implements business logic.
    problem is that i want to call/invoke this servlet from passfamily method of ShopingCartImpl class.
    So how can i call/invoke servlet from passFamily method of ShoppingCartImpl class ?
    (All stuff is under Axis web application under Tomcat).

    hi
    the following link may helpful to you
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
    Regards
    Prasanna Yalam

  • Error. your computer must be running a supported version of Microsoft Visio and a browser that supports opening files directly from Visio Web Access.

    I have the following inside my SharePoint server 2013 :-
    EnterPrise Wiki site collection.
    i have both "Excel services Application "& "Visio Graphics Service" running correctly.
    The problem i am facing is as follow:-
    when a user click on an Excel sheet or Visio document , it will be shown inside the browser without any problem.
    but if the user click on "Open in Visio" OR "Open in Excel" links inside the browser, they will get the following errors:-
    Sorry, but to open this workbook, your computer must be running a supported version of Microsoft Excel and a browser that supports opening files directly from Office Web Apps.
    To open this document, your computer must be running a supported version of Microsoft Visio and a browser that supports opening files directly from Visio Web Access.
    I have the following settings inside my PC:-
    Office 2010 for Excel, word, power point,etc.
    Visio 2013.
    i have disabled SharePoint foundation support for office 2013
    Can anyone advice on this please?

    Hi,
    Please try to reset the Internet Explorer settings or open Internet Explorer in In-Private browsing and then check if this issue occurs.
    If the issue persists, please try to access SharePoint in another computer with Office 2013 and then check if this issue occurs. Or repair Office and restart your server.
    Here is a blog about the same issue for you to take a look at:
    http://sharepointexit.blogspot.com/2013/12/sorry-but-to-open-this-workbook.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Nwdi-managed access of pcd-objects from java web dynpro

    Hi,
    im am trying to access portal pcd-objects from a java web dynpro component (namely getting and setting personalized iview properties). for locally managed web dynpro components this works fine with the code below.
    when i try the same with a nwdi managed web dynpro component i run into problems regarding references to used dcs. for instance, i need to reference used dc SAP_JTECHS/tc/epbc/pcm/adminapi/java because the build needs tcepbcpcmadminapijava.jar which is inside the mentioned dc. but access permissions of this dc don't allow the dependency. when i try to "add used dc ..." in nwds i get the error message: illegal dependency: access list does not allow use of ...
    has someone any solution for this problem? are there other ways of accessing pcd-objects from java web dynpro (nwdi managed!)?
    thanks
    heiko
    private static void savePersonalizationData(String value) {
         try {
              IAttributeSet attributeSet = (IAttributeSet) getIview(IVIEW);
              attributeSet.putAttribute(ATTRIBUTE, value);
              attributeSet.save();
         } catch (Exception e) {
    private static Object getIview(String pcdPath) throws Exception {
         Hashtable env = new Hashtable();
         env.put(
              com.sap.portal.directory.Constants.REQUESTED_ASPECT,
              com.sap.portal.pcm.admin.PcmConstants.ASPECT_SEMANTICS);
         env.put(
              Context.SECURITY_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         env.put(
              IPcdContext.PCD_PERSONALIZATION_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         InitialContext iCtx = new InitialContext(env);
         return iCtx.lookup(pcdPath);

    Hi Kust,
    To access the PCD objects the code you used looks ok for me but your main issues is related to the dc access permissions. This thread discussed about the similar issue. Please review this below thread.
    /message/979328#979328 [original link is broken]
    Regards
    Krishna Reddy

  • Create File Object from a remote file

    Hi,
    I would like to know about how to create a new File object from a file in a remote machine, it is a web application, i have the remote route of the file, and if I need the ip of the remote machine, I would like to know how to get it too.
    File fileobject = new File(�What do I have to put here or before or whatever?);
    Thank you very much.
    J.

    First, from the technical point of view you can't create a File object unless it's a file on the computer where the code is running. It doesn't matter if you have an IP address or something, if you haven't mapped a drive to it you can't create a File object.
    But more importantly, you can't just reach out from your server and grab a file from the client's computer. That's an obvious security violation and if you didn't realize that you shouldn't be designing web applications yet. If you want a file uploaded then you have to provide the client with an HTML form where they select a file to be uploaded.

  • How to access COM+ Objects From JSP

    Friends,
    We have a requirement to access COM+ objects from JSP. Please guide me on this.
    Thanks in advance.
    Tarani

    Sanyam wrote:
    if there is any .dll extension file, how can we read that file in labview?
    You can use Call Library Function node to call that dll file and use it in LabVIEW. Read the help and you will get more details.

  • Can you have a DIAdem file embedded in a web app and then when you click the link to the DIAdem file it invokes DIAdem?

    Can you have a DIAdem file embedded in a web app and then when you click the link to the DIAdem file it invokes DIAdem?

    Hello JCN,
    I will keep in touch with the current Applications Engineer who will be assisting you with this issue and update the forum with the status of the problem. I personally think that your best option would be to create a link that opens DIAdem and then runs a script to load the data from a predetermined file (Rather than a link to the file itself).
    Ian M.
    National Instruments

  • Delete reminders from Outlook Web App

    Hello
    I am an Outlook 2010 and Outlook Web App user running Windows 7.
    I have had issues with Calendar Logging and huge numbers of items - tens of thousands, often for the same meeting request. I spoke with my exchange provider and they removed the calendar logging folders from the web app (not sure what they did), however,
    I still receive reminders (currently 150) for meetings that no longer exist in my calendar. These do not appear in Outlook 2010 (although calendar logging is an issue, see below), only in the Outlook Web App. When I dismiss or individually delete the reminders
    they disappear only to return a few seconds later.
    I have tried running Outlook with the /cleanreminders switch and others. I have tried using MFCMAPI to find reminders and delete them although none are shown. I have checked and repaired my outlook ost file.
    Outlook 2010 often displays an "updating calendar logging" message. This often causes Outlook to be unresponsive. I have the same issue with the Mail application on a mac machine.
    I am a sole trader without an IT department. My exchange host is not that helpful.
    Any help on this would be appreciated.
    Thanks
    Rhys

    Thanks Martina.
    I made the change you suggested and found the reminders... all 51,600 of them!
    Do you have any idea what might be causing this. Anyway, I am not able to delete them. I get an error message:
    Warning:
    Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
    Function lpSourceFolder->CopyMessages( lpEIDs, NULL, lpWasteFolder, lpProgress ? (ULONG_PTR)hWnd : NULL, lpProgress, ulCopyFlags)
    File MAPIFunctions.cpp
    Line 998
    Followed by:
    Warning:
    Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
    Function DeleteToDeletedItems( lpMDB, (LPMAPIFOLDER) m_lpContainer, lpEIDs, m_hWnd)
    File FolderDlg.cpp
    Line 695

  • I have the iPad 2 and having difficulties accessing my data from my Dropbox app

    I have the iPad 2 and having difficulties accessing my data from my Dropbox app to forward to another source,tried every setting nothing works can any one assist please?

    You need to explain exactly what you are trying to do.
    Tap on a document, photo, file or whatever in the DropBox app and then tap the square with the arrow that points upward in order to send the item to another app or to email it.

  • Accessing file shares from JSP

    Hi,
    I need to be able to access file shares from a JSP page. Here's the JSP code:
    <%@ page language="java" %>
    <%@ page import="java.io.*" %>
    <%@ page errorPage="errorPage.jsp" %>
    <%
    String fileSystemPath = "\\\\130.26.1.199\\MeetingManager30\\test.txt";
    File f = new File(fileSystemPath);
    f.createNewFile();
    %>The above code resides in a server with IP 130.9.68.6 and is deployed onto the Tomcat on the server.
    When I tried to run the above code, I got this error
    java.io.IOException: Access is denied at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:827) at org.apache.jsp.test_jsp._jspService
    (test_jsp.java:55) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service
    (JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke
    (StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke
    (StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke
    (StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon
    nection(Http11Protocol.java:711) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
    (ThreadPool.java:687) at java.lang.Thread.run(Thread.java:536) Seems like I'm having a system level security setting problem here.
    I know it's a security issue, because I've encountered the equivalent problem in ASP/IIS, and I had to give a domain user rights to both the IIS Virtual Directory, and the file share to be able to access.
    Any ideas how to set up Tomcat to be able to access the file share successfully?
    Thanks in advance!

    Hello Veer,
    From what you have posted it looks like while logging your error another problem occurred. Did you get any output from your System.out calls? If not can you try adding a few in order to home in the problem area.
    Hussein Badakhchani
    www.orbism.com

  • Creating File objects from all files in a folder.

    Hi, I'm not too brilliant of a programmer, so this may be an obvious one that I could find in the API.
    My goal is to compare files for similarities and then give some output, that's not too important.
    My question is: How do I create an array of File objects from a folder of *.txt files, without creating each individually? Is there a way to simply get all the files from the folder?
    File I/O is still pretty new to me. If I didn't give a good enough explanation, please say so.
    Thank you very much!

    Note by the way that a File represents an abstract pathname, the idea of a file as a location. It doesn't specify the file's contents, nor does it require that the file it represents actually exists. A better name might be "theoretical file" or "directory listing entry".
    So getting a whole bunch of File objects is itself perhaps not necessary (although it could be useful).
    To expand on reply #1, look for File methods whose names start with "list".

  • How to create File object from InputStream

    Hi everybody
    Can I know a way to create a File object from InputStream object
    Here's my code:
    URL url = loader.getResource(xsdFile); //Thats a schema file..not to worry
    InputStream istream = url.openStream();
    Now from that 'istream' I need to build File object.
    Thank you all

    didn't know fileinputstream was made to read url objects ; in the doc, it just says "A FileInputStream obtains input bytes from a file in a file system." ; according to me, website is something outside the filesystem, but i could be wrong
    edit: thought from the beginning it was all about FILEinputstream whereas it just says "inputstream" in the post ; my bad, it's still early in the morning here X)

  • I get an error message when clicking on a link from Outlook Web App

    I get about 10 error message boxes whenever I click on a link that takes me away from Outlook Web App. Here is the error:
    Client Information ------------------ User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.11) Gecko/20100701 Firefox/3.5.11 ( .NET CLR 3.5.30729) CPU Class: undefined Platform: Win32 System Language: undefined User Language: en-US CookieEnabled: true Exception Details ----------------- Date: Thu Jul 29 2010 09:13:01 GMT-0500 (Central Daylight Time) Message: Permission denied for &lt;https://webmail.stjohns-network.org&gt; to call method UnnamedClass.toString on &lt;&gt;. url: Line: 0 Call Stack ---------- undefinedError()@:0 window$onerror(&quot;Permission denied for &lt;https://webmail.stjohns-network.org&gt; to call method UnnamedClass.toString on &lt;&gt;.&quot;,&quot;&quot;,0)@https://webmail.stjohns-network.org/owa/14.0.639.21/scripts/premium/uglobal.js:1 function Array$get_Length() { return this.length; } function Array$get_Item(index) { return this[index]; } function Array$get_Enumerator() { return new (Owa.Collections.ListEnumerator)(this); } function Array$remove(oItem) { var index = this.indexOf(oItem); if (index &gt; -1) { this.splice(index, 1); } return index &gt; -1; } function Array$removeAt(iIndex) { if (iIndex &lt; this.length) { this.splice(iIndex, 1); return true; } return false; } function Array$add(oItem) { this.push(oItem); } function Array$clone() { return this.slice(); }
    == URL of affected sites ==
    https://webmail.stjohns-network.org/owa/

    Hi Everyone,
    I figured out the error. The error is caused by the "Fasterfox extension". Disable or uninstall the extension and then try to open the outlook after restarting the firefox.

  • Accessing java objects from within javascript

    Hello,
    Anyone with an idea of a useful toolkit for accessing java objects from within javascript will be much appreciated.
    Thanks in advance,
    Antana.

    What do you mean by accessing Java objects? Do you mean interacting with an applet via JavaScript? Something else?

Maybe you are looking for

  • External SDI Monitor Not Receiving Signal

    I have been Premiere Pro CS6 with no problems in getting a video signal via SDI using the Blackmagic Ultrastudio Mini Monitor. Moving to CC I have the exact same setups, but the image will not come through to the monitor at all. (sending SDI signal t

  • Can we go to a apple store to get the scratches on the glass removed from my daughtersipod

    mydaughter has the ipod touch(newest version) and we would like to get the scratches off the glass but how and if we take it to a apple store will warranty work for it?

  • Stop motion on premiere pro

    Hello, i am trying to make a stop motion film using adobe premiere pro cc, and possibly premiere elements 12 if necessary. I would like to know how i can createa live feed of images from camera to software. I would also like to be able to use the oni

  • Issues with choppiness in image scrolling

    I am not super experienced in flash, but I'm wondering what the deal is.  The swf I export looks choppy as hell as it moves across the screen and I have it set to 120fps.  You can see it here: http://mattdaddy.net/client/animator_images.swf the fla i

  • Free after effects plugin to subtitle in Broadcast

                   A plugin script for After Effects,it duplicate compositions and change text elements. If you have any questions leave a comment. Accelerate and facilitate the exchange of texts in subtitling and titling via after effects http://www.vir