"upload" document into air

Hi,
Can anybody point me in the right direction. I want to "upload" a document into an air application to be stored locally then upload to a webserver in the background when convenient. Is there an example of this, or documentation about how I would do this somewhere?
Thanks.

Hello.
All you got to do is to use flash.filesystem.File class. With it, you can open a file with the load() method to open the local file, you can use the save() method to save the content at local machine. Finally, you can use the upload() method to send the file to a server.
Here is a example in Flex, but it's very easy to port to pure AS3: http://www.adobe.com/devnet/air/flex/articles/uploading_air_app_to_server.html.
Any doubt, just post it!
Cheers,
CaioToOn!

Similar Messages

  • GuidedProcedure - how to move uploaded document into KM?

    Hello Anyone,
    could you please help me on how to get an uploaded Document into a specific Directory of the KnowledgeManagement?
    Currently I am trying to create a Process (Guided Procedure) which lets a User upload a Document (Callable Object->Misc->File Input), create a Folder in the KM, store this uploaded Document into that folder and adapt some folder-rights, configure discussions, etc..
    However, I can't find any programs/webdynpros/callableobjects which do these things? Any hints on standard, reusable "components" which may be used as Callable Objects to work with the KnowledgeManagementSystem?
    Thanks a lot,
    Kai

    Follow Up: is there any possibility to use existing iViews like CallableObjects, e.g. setting default parameters, chaining iViews, etc... ?

  • Uploading Documents into Adobe Flash Catalyst

    In Adobe Flash Catalyst, I have created a thumbnail with a scroll bar. That thumbnail is needed in order for a user to be able to click on any of the documents within that thumbnail, which will open in another browser window for viewing purposes.
    The problem is that I have noticed that when trying to upload any type of document (i.e. word, pdf, etc.) in Adobe Flash Catalyst, it will require that the document be changed into an image file. Once the document is changed to an image file such as a jpeg, for example, it will then separate the document into multiple images if the document was more than one page. This seems like such a tedious effort from a developer standpoint. And also, from an end-user standpoint, the user will not be able to click on ONE image within the thumbnail to see the entire document. Instead, if you are dealing with a 4-page document, you will have to click on each individual page within the thumbnail in order to view the entire document. Is there a better way of doing this?

    This forum is for suite specific issues. Please post in the Flash Catalyst forum.
    http://forums.adobe.com/community/flashcatalyst
    Bob

  • Uploading documents into ipod touch

    Hey is it possible to upload and view documents offline on the ipod touch? I usually convert my documents into images which is starting to be quite a hassle. Any ideas?

    In a few months, the SDK (Software Developers Kit) will be available and new apps will be written for the iPod Touch.
    You can send feedback to Apple for feature requests.
    For now, I would suggest using iPhoto since there is currently no other method of getting iTunes to sync your documents with your iPod Touch.

  • Converting uploaded documents into FlashPaper

    Hi all,
    i have a doc management system, in which i want to convert
    all the uploaded docs into FlashPaper. The input docs will be in
    different formats like PPT,DOC,PDF etc. is there any server side
    API to do tat? i dont want the user to be aware of what conversion
    is happening at the server. I have built the system in PHP, Please
    help me out.
    TIA

    Hi,
    I think you have startged two discussions for the same question:
    Please check the below mentioend
    http://forums.adobe.com/message/5318601#5318601
    ~Pranav

  • Upload document into a folder, default folder path.

    Hi
    I have 2 web parts on AllItems.aspx (default view of document library) and both are showing documents from same library.
    Web part 1 shows all documents from folder 1 and web part 2 shows all documents from folder 2.
    When user drag and drop any document on the respective web part I want to upload the document in associated folder.
    for example if user drops document on web part 1, document should be uploaded to folder 1 and if user drops documents on web part 2, document should be uploaded to folder 2, possible?

    Hi Shafaqat,
    Per my knowledge, there is no OOB way to achieve your goal.
    As a workaround, I recommend to use the default view web part of the library instead of using two web part, and add two links for rendering the two folders in the quick launch.
    Here are the detailed steps:
    In the library AllItem.aspx page, the default list view web part is displayed. (No actions here)
    Click Edit Links in the Quick Launch and then add two links with your library URL as below and then save:
    After that, you can click each folder link from Quick Launch to access each folder and then drag and drop files into the folder.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Upload document into KM

    Hi Experts,
                    I want to Upload the Documents(.doc,.ppt,.pdf,etc) into KM through VC application. how to do that? give ur suggestions?
    Regards,
    P.Manivannan.

    Hi Experts,
    I want to Upload the Documents(.doc,.ppt,.pdf,etc) into KM through VC application. how to do that? give ur suggestions?
                <b>   Its very urgent</b>
    Regards,
    P.Manivannan.

  • Unable to upload document into SharePoint Library

    Hi Guys,
    I am unable to upload the document after updating the meda data field default values.
    Error is
    Error
    The URL 'SharedDocuments/A - Copy (2).docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current
    Web.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: a658472e-d608-4aaa-8f8f-04fedc9a2a0b
    Date and Time: 4/24/2014 2:35:28 PM
    Go
    back to site
    thanks,
    Santhosh G.

    Hi,
    I had updated the default value of the managed metadata field using the below code.
    After that, the library worked well without any issue, you can use the below code to check whether it works.
    TaxonomySession taxonomySession = new TaxonomySession(site);
    TermStore termStore=taxonomySession.TermStores["Managed Metadata Service"];
    Group group=termStore.Groups["Site Collection - sp"];
    TermSet termSet=group.TermSets["Test1"];
    Term term=termSet.Terms["AA"];
    SPList list = web.Lists.TryGetList("1");
    TaxonomyField taxonomyField=list.Fields["MMS"] as TaxonomyField;
    Console.WriteLine("Old Default Value:{0}", taxonomyField.DefaultValue);
    taxonomyField.DefaultValue = "-1" + ";#" + term.Name + "|" + term.Id.ToString().ToLower();
    taxonomyField.Update();
    Console.WriteLine("New Default Value :{0}", taxonomyField.DefaultValue);
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • WEBUTIL_PG.WRITE_DATA( ) and uploading documents into the database

    When we run our Forms application through Forms Builder, with the user account utilized by our actual users, we're able to upload a file into the database using webutil. This particular database user account is restricted to only the tables and packages it needs access to, granting the full SELECT, INSERT, UPDATE, DELETE to the tables, and then EXECUTE on the packages.
    However, when our Developers use their personal database accounts, which essentially have SELECT ANY .. EXECUTE ANY ... etc, this upload process is halted within webutil.pll when it calls the database PACKAGE procedure WEBUTIL_PG.WRITE_DATA( ). It just hangs on that step.
    When you look in OEM, during that hang the graph is showing high levels of "Network" activity. Just a solid plateau. We can't figure out why the difference between these accounts has an effect. Does someone see a pattern here that we're missing?
    Thanks,
    --=Chuck

    "Still sounds like a permissions issue to me." I know right?
    So I logged in as myself. I have DBA privileges in the database. The call to the database package hung for me as well. No error ... just a hung cursor.
    As for debugging ... the call to WEBUTIL_PG hangs, when the Forms code gets to that point in the webutil.pll. So we never even get to the database.
    Our next step, is to try to recreate the process solely in PL/SQL without webutil.pll, but the code in there is pretty extensive, and teasing out only the pieces we'll need is pretty tricky.

  • Is it possible for students to upload documents in Captivate?

    Is it possible for students to upload documents into captivate?

    Hi there
    If you mean that students would be interacting with what Captivate produces, there is nothing that would allow that out of the box. But Captivate does interface with JavaScript and it does have the Web Object available, so I'm pretty sure some clever folks can create code that would open a portal that would allow uploading documents to a server.
    Cheers... Rick

  • Viewing and uploading documents when using a business package in the portal

    DMS works fine in the ECC backend and we are able to create and view documents but when attempting to view a document via the Business Package Maintenance Supervisor or Maintenance Technician, error returns with "No originals available for the document".  we are using Enh Pack 3 but can find no configuration advice in the Business Package technical configuration.  Did a search here but could not find anything specific.  Any help appreciated

    Hi Frank,
    When you upload document into SAP DMS, you need to check-in these for storing into repository. Have you checked-in documents? if not then these documents can;t be retrieved by the system. Kindly check and revert back on this solution.
    Hope this will help.
    Regards,
    Ravindra

  • How to classify a Document into Category and subcategories

    Hi,
    We have a fully functional basic KM system where we upload documents into folders and subfolders. Now we have a requirement to classify the documents into categories and subcategories at the time of uploading the document. This classification will be irrespective of the physical location (folder/subfolder) of the document. For example I may have two different documents in the same subfolder, one may be classified as category "General" and subcategory "News", and the other may be classified as category "Technical" and subcategory "Whitepaper".
    Also we should be able to filter our document search based on subcategories. When we search a document based on a subcategory, then the search must fetch only those documents which have been marked as belonging to that subcategory while uploading the document. In the search page, the categories must appear as dropdowns and the dropdown values must contain the respective subcategories.
    As mentioned earlier, these categories and subcategories are independent of the KM directory structure.
    Please let us know how to go about this step by step.
    regards,
    SJ.

    Hi
    I think you can solve your problem with "Custom Properties"
    Using custom properties, u will not only get "Check box", but also "Dropdown"
    In your custom property, do the following
    Multivalued : Check the check box
    Allowed Values (csv) : Give your options
    Please check this <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/de31ec90-0201-0010-be95-f501d25027a8">article</a>
    It talks about dependent properties, through which you can have , category & subcategories
    Hope this will help you
    Regards
    Aparnna

  • Hide Upload Document item in Ribbon

    I created a document library set to use a "Document Set" content type.  I am hiding the "Document" content type, so that when a user clicks "New Document", in the Ribbon, they are only able to create a Document Set.  Is there a way to hide "Upload
    Document" item in them Ribbon at this level?  Meaning, once the Document Set is created the user should be allowed to "upload" documents into the Document Set?  I want to prevent them from uploading documents at the document set creation level.

    Hi,
    You can create a sandbox solution with the following feature\elements.xml to remove Upload document in the Ribbon. If you need this active for only one library you can either create a new Content type from document and then specify the Id in RegistrationId
    or you will have to create a new list template for you document library and specify the id of list template in RegistrationId.
    <CustomAction
        Id="RemoveExplorerButton"
        Location="CommandUI.Ribbon"
        RegistrationType="List"
        RegistrationId="{contentTypeId}">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition
              Location="Ribbon.Library.Documents.upload" />  -> verify this
          </CommandUIDefinitions>
        </CommandUIExtension>
      </CustomAction>

  • Unable to upload document in KM Content

    Hi all,
             I am uploading documents into KM content by following path Folder> New> Upload. Previously it was working fine but today  the document is not getting uploaded and it is not giving any error message also.
           I followed the path Folder>New>Upload and provided the file name and path. After clicking upload, no message or pop-up is appearing and screen is navigating to KM root screen and the document is also not getting uploaded.
          Any suggestions why this is happening? Please suggest me
    Thanks & Regards
    Pavan

    Hi Pavan,<br>
    Few days back I face the same issue and the SAP note resolve the issue(we have windows as OS).<br>
    So check the following:<br>
    1) the variable "temp" and "tmp" must have the absolute path to the temporary folder( do not use% sign in the path).<br>
    2) If you are creating a seprate ttemporary folder as per note then in the environmental variable keep it's path first , then of oters.<br>
    3) try to give full Full Control on the temporary folder created.
    <br>
    Hope this may help.
    <br>
    _Vishal

  • Virus Found error message while uploading document in Document Library

    Hi,
    When uploading documents into the document library, I got a message "Virus Found" ERROR message.
    the installed  virus scanner is urrently unavailable.If the  problem persists, please contact your administrator.  
    How to resolve this issue? its in staging environment. in our test environment  we  never received this error message while uploading the message.
    help is appreciated.

    hi
    have you installed an antivirus app on server?
    Check this link
    https://support.microsoft.com/en-us/kb/2953311/
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

Maybe you are looking for