Use Shared Local Object with Javascript

Hi to everybody!
I have to make a javascript component that have to take some
data from a Shared Local Object;What I have to do in order to use
the Shared Local Object in javascript? It maybe that I have to
create an ActionScript file in which I use the Shared Local Object
and than import that file in Js?
Furthermore, do you know if it possible to lanch a waba
application (is a java application for pocket pc and pda ) from a
flash application?
And if yes, What I hava to do?
Thanks

Have you downloaded and read the Acrobat SDK yet?  That's your starting point.

Similar Messages

  • Short Dump TSV_TNEW_PAGE_ALLOC_FAILED while using shared memory objects

    Hi Gurus,
    We are using shared memory objects to stor some data which we will be reading later. I have implemented the interfce IF_SHM_BUILD_INSTANCE in root class and using its method BUILD for automatic area structuring.
    Today our developments moved from dev system to quality system, and while writing the data into the shared memory using the methods ATTACH_FOR_WRITE and DETACH_COMMIT in one report. We started getting the run time error TSV_TNEW_PAGE_ALLOC_FAILED.This is raised when the method DETACH_COMMIT is called to commit the changes in the shared memory.
    Everyhting works fine before DETACH_COMMIT. I know that it is happening since the program ran out of extended memory, but I am not sure why it is happening at DETACH_COMMIT call. If excessive memory is being used in the program, this run time error should have been raised while calling the ATTACH_FOR_WRITE method or while filling the root class attributes. I am not sure why it is happening at DETACH_COMMIT method.
    Many Thanks in advance.
    Thanks,
    Raveesh

    Hi raveesh,
    as Naimesh suggested: Probably system parameter for shared memory area is too small. Compare the system parameters in devel and QA, check what other shared memory areas are used.
    Regarding your question, why it does not fail at ATTACH_FOR_WRITE but then on DETACH_COMMIT:
    Probably ATTACH_FOR_WRITE will set an exclusive write lock on the shared memory data, then write to some kind of 'rollback' memory and DETACH_COMMIT will really put the data into shared memory area and release the lock. The 'rollback' memory is in the LUW's work memory which is much bigger as the usual shared memory size.
    This is my assumption - don't know who can verify or reject it.
    Regards,
    Clemens

  • Using JQuery deferred objects with JSOM

    Hi,
    I have written following query to execute a JSOM call using Jquery Deferred objects.
    But It is not working. I am getting following error:
    Uncaught TypeError: Cannot read property 'get_current' of undefined .  Can anyone help what is wrong here?
    <script type="text/javascript">
    ExecuteOrDelayUntilScriptLoaded(getrelatedProjects, "sp.js");
    function getrelatedProjects() {
        var dfd = $.Deferred(function () {
           var clientcontext = new SP.ClientContext.get_current();
            var list = clientContext.get_web().get_lists().getByTitle("Roadmap");
            var camlQuery = new SP.CamlQuery();
            this.collListItem = list.getItems(camlQuery);
            clientContext.load(collListItem);
            context.executeQueryAsync(
               function () {
                   var listItemCollection = list.getItems(camlQuery);
                   dfd.resolve(listItemCollection);
               function () {
                   dfd.reject(args.get_message());
        return dfd.promise();
    getrelatedProjects().done(function (listColl) {
        var listItemEnumerator = listColl.getEnumerator();
        // do something with the list
        while (listItemEnumerator.moveNext()) {
            var oListItem = listItemEnumerator.get_current();
            listItemInfo += '\nID: ' + oListItem.get_id() +
                '\nTitle: ' + oListItem.get_item('Title');
        alert(listItemInfo.toString());
    </script>
           

    I have been trying for help since one week on this issue. Here is my requirement. Can someone just help me modify this code. All I am looking for is to execute getStatus(project) synchronously.
    // JavaScript source code
    var roadmapList;
    var collListItem;
    var dashboardList;
    var statusItem;
    ExecuteOrDelayUntilScriptLoaded(loadRoadMap, "sp.js");
    function loadRoadMap() {
        var currentCtx = SP.ClientContext.get_current();
        var currentWeb = currentCtx.get_web();
        this.roadmapList = currentWeb.get_lists().getByTitle('Roadmap');
        var camlQuery = new SP.CamlQuery();
        this.collListItem = roadmapList.getItems(camlQuery);
        currentCtx.load(collListItem);
        currentCtx.executeQueryAsync(
            Function.createDelegate(this, this.onQuerySucceeded),
            Function.createDelegate(this, this.onQueryFailed)
    function onQuerySucceeded(sender, args) {
        var listItemInfo = '';
        var listItemEnumerator = collListItem.getEnumerator();
        while (listItemEnumerator.moveNext()) {
            //alert("Success");
            var oListItem = listItemEnumerator.get_current();
            var projectUrl = oListItem.get_item('ProjectURL').get_url();
            listItemInfo += '<tr><td>' + oListItem.get_item('Roadmap_x0020_Project')
    + '</td><td>' + getStatus(projectUrl) + '</td></tr>';
            $('#statusTable').append($(listItemInfo));
    function onQueryFailed(sender, args) {
        alert('Request failed. ' + args.get_message() +
            '\n' + args.get_stackTrace());
    function getStatus(project) {
        var crossSiteContext = new SP.ClientContext("http://myanothersite.com/it/");
        var crossSiteWeb = crossSiteContext.get_web();
        this.dashboardList = crossSiteWeb.get_lists().getByTitle('Dashboard');
        var projectQuery = new SP.CamlQuery();
        projectQuery.set_viewXml("<View><Query><Where><Eq><FieldRef
    Name=\'Project\'/>" +
            "<Value Type=\'URL\'>" + project + "</Value></Eq></Where></Query>"
    +
            "<RowLimit>1000</RowLimit></View>");
        this.statusItem = dashboardList.getItems(projectQuery);
        crossSiteContext.load(statusItem);
        crossSiteContext.executeQueryAsync(
            Function.createDelegate(this, this.onStatusQuerySucceeded),
            Function.createDelegate(this, this.onStatusQueryFailed)
    function onStatusQuerySucceeded(sender, args) {
        var projectItemInfo = '';
        var projectItemEnumerator = statusItem.getEnumerator();
        while (projectItemEnumerator.moveNext()) {
            var curstatusItem = projectItemEnumerator.get_current();
            projectItemInfo += '\nID: ' + curstatusItem.get_id() +
                '\nStatus: ' + curstatusItem.get_item('Project_x0020_Status').Label;
    function onStatusQueryFailed(sender, args) {
        alert('Request failed. ' + args.get_message() +
           '\n' + args.get_stackTrace());

  • Question about controlling embed quicktime object with javascript

    Hello,
    I am using javascript to control an embedded quicktime object on my website a la http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-p art-i-quicktime/ .
    The problem I am having is with the movie.Stop() command. When I hit the pause button on the generic controller, it freezes the current frame. When I call the Stop() command, the movie goes white until it is resumed. Does the pause button do anything more than call "Stop()"?
    Thanks,
    Nick

    any luck with this? i am thinking of trying protofunc.
    fyi:
    i switched from SWF files to QuickTime H264, and have been trying to use the QuickTime/File/Save For Web feature on my movie promo web site.. all the movies play choppy on computers (desktops and laptops), but the technique works well on iPhones and iPads.. it is a bit unfair, IMHO, that apple can make trailers work so smooth on trailers.apple.com, but using their technology does not seem to work for "the rest of us"..
    any web sites other than apple that can help?

  • Using multiple UIWebView objects with a Tab Bar Controller.

    So, I'm pretty new to this cocoa touch language and seem to be hitting a road block.
    I have an application that will use a Tab Bar Controller as a navigation. Each tab will display a different UIWebView object that's been linked to their own URL's. I can't for the life of me figure out how to get past the first UIWebView. If they're all the same object, with the same name, how can I set a different url for each??
    I've been going nuts over this for the past few hours and can't find any documentation online so any help would be AMAZING. Thank you very much.
    Message was edited by: thenameisjesse

    If they're all the same object, with the same name, how can I set a different url for each??
    They're not the same object. You alloc and setup each UIWebView independently.
    UIWebView is just a view so set it up the same way you would if you had a tabbar with multiple views.
    The default template has 2 views as I recall. Change the UIViews to UIWebView. As you switch them in set the URL and have it load.

  • Iphone apps using flex remote objects with CF???

    I am used to making web applications that use flex remote objects to interact with CF.
    Is it possible to use remoting from an iphone app cross compiled using flash builder to interact with Cf remoting on a remote server?

    Interseting, config files always seem to me like a strange way to do things.
    I'm not exactly sure what you mean by this, but by default, that's how remoting works in Flex - you have channels and destinations defined on your server, and your compiler points to your config files and reads those values. So it's a little extra work to define them in AS instead.
    Can you give me any tips on authenticating requests to cfc's from mobiles and how to protect my servers once I exposes cfc's to apps not hosted on the same server as CF?
    There isn't really anything mobile-specific you need to do here. Exposing CFCs isn't any different than exposing CFM files that are accessed via a browser. You can use the standard CF session management and CF authentication (cflogin) - there are some examples available by Googling "coldfusion cflogin flex remoting".
    Dave Watts, CTO, Fig Leaf Software

  • Can't share photos using shared Photo Stream with iCloud Control Panel for Windows

    BACKSTORY: My friend took pictures of my family. I want to see the pictures he took. We live about 2.5 hours apart by car. Gas prices are too high for me to just drive down with an external hard drive to get the pictures and I might as well throw my money out the window if I were to ship him a hard drive and he ship it back. SO. I ask him if he would share photos with me and he quickly agreed. He added me to a Photo Stream  he has. ok cool. I recieve the invitation email just fine but this is the error I get when I click on the link:
    ERROR MESSAGE:
    Photo Stream
    Follow these steps to join a shared photo stream
    1.Make sure you have an iPhone, iPad or iPod touch running iOS 6 or a Mac running OS X 10.8.2 withiPhoto 9.4 or Aperture 3.4 or later installed.
    2. Sign in to iCloud on your devices.
    3. Open the invitation email on an updated device and tap the Join this Photo Stream button. 
    WHAT I NEED:
    How can I view shared photo streams using iCloud Windows control panel 2.1.2.0? How can I work around this error message? I don't own any of these products that apple wants me to own in order to view these photos! I don't have the cash to go out and purchase them. What can I do to get "my" photos? Do I have to be signed into my friends apple id to see the shared photos?
    What I've tried:
    I already have the icloud control panel installed and updated to the latest version.
    I'm signed into iCloud on the control panel. (no apple id password issues)
    I have photo stream checked.
    I have my photo stream checked
    I have shared photo stream checked.
    I have tried copying and pasting the link into the address bars of Safari for Windows, Google Chrome, Internet Explorer,  and Firefox respectively and pressing enter to load. all present the same error message.
    I visited iCloud.com to see if there was anywhere to access the shared photo stream there... No option exisits
    Checked my photo stream folder in windows explorer. it's completely empty. I haven't put any of my own photos there so nothings missing per se... I just can't see my friends shared photos.
    MY SET UP:
    Windows 7 64bit Home Premium
    4gb of RAM
    iCloud control panel version 2.1.2.0
    I don't own any version of Outlook, (if that matters. I doubt that it matters at all in this case.)
    I don't have any iOS Devices or a mac capable of 10.8. My MacBook is stuck at 10.6.8. It's a late mid 2008 just before the aluminum unibody computers came out. If I had only waited another month... sigh. Murphy's Law is alive and well.
    any sugestions, especially correct answers, are welcome. please help me figure this out. Thanks in advance.
    Desert_dweller5

    Hello desert_dweller5,
    It sounds like you art trying to access a Shared Photo Stream, but you do not have one of the devices to enable your Apple ID as an iCloud account.  The following article provides information on how Shared Photo Streams work:
    iCloud: Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    The article states that for privately Shared Photo Streams to work, the recipient will not only have to have an Apple ID, but it will have to be an iCloud account:
    Friends and family with iCloud accounts can view your photos in the Photos app on any device using iOS 6 or later; on a Mac in iPhoto 9.4 or Aperture 3.4 or later; on a Windows PC with Windows Vista or later and iCloud Control Panel 2.0 or later installed; or on a second generation or later Apple TV with software version 5.1 or later installed. They can also view your photos on the web if you enable Public Website in the settings or options for your Shared Photo Stream.
    Since you do not have an iCloud account and just and Apple ID, your friend can share the photo stream as a public website so that you can view it, as stated in the same article: 
    Can I share with people who don't have an iCloud account?
    Yes. If you enable Public Website in the settings or options for your shared photo stream your photos will be published to a website that anyone can view in an up-to-date web browser.
    To be able to change an Apple ID to an iCloud account, you would need an iPhone, iPad, or iPod touch with iOS 5 or later or a Mac with OS X Lion v10.7.4 or later as stated in the following article:
    Creating an iCloud account: Frequently Asked Questions
    http://support.apple.com/kb/HT4436
    Best,
    Sheila M.

  • Save each page of a multi-page document as a separate file using spawned file names with javascript

    Hello
    We are currently changing our hard-copy personnel files and converting them to pdf files.  We have scanned the entire file into one multi-page document.
    I am wanting to save each page (or groups of pages) as separate files.
    In order to facilitate this, I have duplicated field names--such as FirstName, LastName, EmpNo on each page.  This information should be static for the entire file.
    However--I also need information that will change for each individual "page" or document--such as TypeOfDoc, Date, etc.  I have used the Spawn fields using the overlay method on each of the pages in the document.  Then I went in and filled in the information for each page of the document--such as TypeOfDoc, DateOfDoc.
    Now I want to save each page of the document as a separate file using the field names as the file name.
    I first created an action that would split all the pages into separate files and save them into a folder.
    Then I want to save each file as a specific file name based on the information in the fields.
    My problem is obtaining the name of the spawned field name.  The rest of the field names I am not having a problem with.
    This is what I have so far to name the file.
    // Get the field value
    var oPage = this.pageNum;
    var fn = getField("P" + oPage + ".TEMPLATE.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
    // Specify the folder
    var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
    // Determine the full path
    var fp = fldr + fn +".pdf";
    // Save the file
    myTrustedSpecialTaskFunc(this, fp);
    This code is also accompanied with folder level scripts.
    My problem is obtaining the name of the spawned fields using javascript.  Each document has several pages--so I would like to obtain the field name through script.
    I receive the following error.
    TypeError: getField("P" + oPage + ".TEMPLATE.DATE") is null
    I think this is due to the fact that I have extracted all the pages as individual files.
    If I were to do the above, but not extract the pages first--I do not know how to just save one page at a time.
    Please help.  This is a massive project, and if we have to save each file individually, it will take a lot of time.
    I am a beginner, so any assistance is appreciated.
    Thank you

    I am not understanding exactly where to put the curly brackets.  I have tried two different ways, and still get the same error.
    This is one way
    var oPage = this.pageNum;
    // Specify the folder
    var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
    // Determine the full path
    var fp = fldr + fn +".pdf";
    for (var i = 0; i < this.numPages; i++) 
    var fn = getField("P" + oPage + ".template.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
    {this.extractPages({  
    nStart: i,  
    cPath : fldr + fn + ".pdf"
    The other is this
    var oPage = this.pageNum;
    // Specify the folder
    var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
    // Determine the full path
    var fp = fldr + fn +".pdf";
    for (var i = 0; i < this.numPages; i++) 
    var fn = getField("P" + oPage + ".template.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
    this.extractPages({  
    nStart: i,  
    cPath : fldr + fn + ".pdf"
    Thank you for your help.

  • Sharing local devices with remote computers like in Windows Remote Desktop

    Morning all,
    I'm attempting to access my local machine's CD drive on the remote computer across Apple Remote Desktop. It's ubiquitously possible even in the Windows Remote Desktop Client for OS X but for the life of me can't figure out how to share my drive over the network with a remote client.
    Any help would be greatly appreciated!
    Thanks

    By Remote Desktop, I literally meant from the remote computer. So let me rephrase..
    After I've enabled CD/DVD sharing, while I'm in Apple Remote Desktop controlling the remote computer, can I access my CD/DVD drive remotely?
    Or to be even clearer, could a remote user on that machine access my CD/DVD drive and how?

  • Can a Servlet be used for Storing Objects with both JSP and JSF used on it?

    Hi,
    Pages I have:
    SearchEmployee.jsp
    This page has a search engine that search out the Employee. This Employee Object will be stored inside a Servlet(controller) for future references by other pages. I used JSP, html tags for forms, and request.getParameter() to built this search engine.
    Problem:
    I have a JSF Form that wants to DISPLAY the employee which I have found in my Search Engine. How can I get the JSF's value="#{Controller.employeeObj.name}" to get the value from the object?
    This seems logical as my JSF form is just retrieving the stored object in the Controller. I currently cant seem to output it

    The servlet shouldn't be used to store ANY data, let alone data to be accessed by other sevlets. Put the object into the Session object.

  • Use of OLE Objects with the Publisher tool

    Our company is trying to put user guides, screen shots, report examples, etc. on the BPMN diagrams that we are creating. I am wondering if anyone has figured out a good way to get multi-page documents to show up as icons which can be clicked from the Business Process Publisher web client. The normal OLE's work decently for users with BPA installed, but they are not hyperlinked in the Web Client. One option I tried was simply displaying the OLE not as an icon, but simply as it's own diagram in BPA, so it would be available that way, but the problem there is it only shows the first page, and it doesn't allow it to be linked to from an icon, it only uses the assignment icon. Any ideas? Best practices?
    -Chris

    HI Chris
    there are link attributes which let you browse and choose a file as link.
    when you create a web export, the files choosen as links for attributes are also exported on Business publisher.
    One of the three profiles you choose when doing a web export support files being copied on BP server
    Cheers

  • How to use user defined object with linked button

    Hi experts
    Can I use user defined table data with linked button. If yes then how. plz give me sample examples.
    Regards
    Gorge

    If you have an UDO in your form, or any other, the FormDataLoad eventhandler should be used.
    Take care, it is not inside the eventhandler.
    for VB:
    Select SBO_APPLICATION in the classes, and select FormDataLoad event
    Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
    in C#
    Add a new eventhandler as
    // declaration
    SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(ref SBO_Application_FormDataEvent);
    // eventhandler:
    public void SBO_Application_FormDataEvent(ref SAPbouiCOM.BusinessObjectInfo BusinessObjectInfo, out bool BubbleEvent)

  • Using the ComboboxColumn Object with a grid

    Hello everyone,
    I am writing an addon dealing with user tables, it basically loads data from user tables into a grid and then lets the user perform several operations on it, my problem is that whennever a field contains valid values, the grid displays it as a regular field, and does not add a combobox to choose the valid values from.
    My question is : is it possible to display the valid values list on a grid cell, or do i have to switch to a matrix in order to do that.
    EDIT : I Found a work arround for my issue , which is to declare a ComboboxColumn object to which i would assign the grid's column containing valid values but i'm not sure about how to do it : here's a sample of my code
    oRecordSet.DoQuery("select * from Table")
    Dim oComboBoxColumn As SAPbouiCOM.ComboBoxColumn
    Dim oCounter as integer
    oCounter= 0
    While oCounter < oRecordSet.Fields.Count
           If oRecordSet.Fields.Item(oCounter).ValidValues.Count <> 0 Then
                 oGrid.Columns.Item(oRecordSet.Fields.Item(oCounter).Name.ToString).Type  
                  =BoGridColumnType.gct_ComboBox
                  oComboBoxColumn = oGrid.Columns.Item(oCounter)
                    ComboVVF(oComboBoxColumn, oRecordSet)
    /* ComboVVF ( Combo Valid Values Filler) is a sub which fills a given combobox with valid values from a recordset */
           End If
           oCounter += 1
    End While
    Kind regards
    Amin.

    Hi Amin,
    That's the correct way to do it. Unfortunately we don't have at our disposal a method to fill the combo box directly from a Table/Column (Something like the LoadFromSeries method).
    Regards,
    Vítor Vieira

  • Images not visible using a local server with XAMPP

    HI
    I've resurrected an old project which worked in the past.  Since then, Ive upgraded both Windows (8.1) and Dreamweaver (CC)  Today I installed the latest XAMPP and created a folder called xamp2015.  I copied the old project (MySite) to the HTDOCS folder
    Now, the site logic is working, BUT, the images are not appearing.
    They are stored here C:\xampp2015\htdocs\MySite\Images\Main
    My Local Site folder is C:\xampp2015\htdocs\Mysite
    Default Images folder is C:\xampp2015\htdocs\MySite\Images\
    The images will appear if I move them to c:\xampp2015\htdocs\MySite and update the links, but this would lead to a messy structure, which was not needed previously
    Does anyone have any suggestions?

    Hi
    Thanks for your message.  I'm confident with folder names as they havn't been changed since it worked,, but I doubled checked after your reply
    Heres the code for one image and how it looks in Live view
    <div class="header"><a href="#"><img src="Images/Main/MySite Logo.gif" alt="Insert Logo Here" name="Insert_logo" width="720" height="100" id="Insert_logo" style="display: block; margin: auto;" /></a><!-- end .slideshow -->
      </div>
    Grabs of the files panel show;

  • Using LabVIEW OOP Objects with TestStand 2010

    I need to use labview classes in Teststand 2010. I am not able to pass reference between Labview and Teststand.

    Or leave it in Labview and use an action engine.
    http://forums.ni.com/t5/LabVIEW/Community-Nugget-4-08-2007-Action-Engines/m-p/503801?view=by_date_as...
    That's what I have done.
    Regards
    Ray Farmer

Maybe you are looking for