Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Problems Adapting Demo App

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems Adapting Demo App

    I have tried to adapt the demo app by creating new lists, changing the fields, amending the editors and ensuring they are all repopulated in the formviews. I have left everything else "as is". When I try to preview the app I get a blank screen. I have compared the original and the amended apps side by side but can't see where I have gone wrong. Any suggestions?

  • #2
    Re: Problems Adapting Demo App

    I have resolved this issue. I had included extra fields in the list layout. These fields belong in the form view (where I had also included them). I'm now struggling to ensure the editors are shown on the details panel.

    Update: I have managed to do this and create a reasonable facsimile that works using the existing code. It can be frustrating at times but I think the learning curve will flatten out considerably after a few attempts and most people will be able to do this quite easily. My next effort will be to try and bind the forms to a database.
    Last edited by invictamarine; 08-07-2015, 04:37 PM.

    Comment


    • #3
      Re: Problems Adapting Demo App

      Hi Bob,

      It sounds like you're jumping right in! Would you be willing to share your results with the rest of us on the Beta Forum? We'd love to see what you've built!
      Sarah Mitchell
      Documentation | Alpha Software Corporation
      Get in the know! Join us for our Weekly Webinars: TransForm Tuesday and Wednesday's Alpha Anywhere Demo and Q&A
      Connect with us: Instagram | Twitter | Facebook | LinkedIn | YouTube

      Comment


      • #4
        Re: Problems Adapting Demo App

        In truth I've only massaged what was in the demo and changed the fields but I don't mind sharing it. It's based on part of an app that I have already created for a client which is used for initiating work orders, status tracking, compliance monitoring, and trend analysis purposes.
        Attached Files

        Comment


        • #5
          Re: Problems Adapting Demo App

          I will be interested in how to bind the forms to a database! I can see how to make changes, but not how to save them. When using a List, I could have a detail view, but am not getting how to handle this using the form view with its shared editors.

          Comment


          • #6
            Re: Problems Adapting Demo App

            Originally posted by kctermite View Post
            I will be interested in how to bind the forms to a database! I can see how to make changes, but not how to save them. When using a List, I could have a detail view, but am not getting how to handle this using the form view with its shared editors.
            Let's see if I can help here...

            The FormView is a replacement for your "Detail View". You can define the layout of controls within the FormView. You also define the editors to use for editing fields within the FormView.

            The FormView operates on a local data source. Local data sources would be a List Control, Static Data, JSON, or a JavaScript Object. The List Control is an ideal local data source since it can pull data from a database, includes offline support and data synchronization functions. In the FormView, you edit the data. Then you save the data back to the list control (a lot like clicking the "Save" button for a Detail View that requires the user to manually synchronize the data back to the server.) THEN, you synchronize the data from the list control to the server.

            Editors are a shared resource across multiple fields of data. You can create one Editor for editing any number of fields. Because they're reused, Editors also include a save step. The Editor saves the value back to the field in the FormView.

            The video that Selwyn put together demonstrates how this works in a very simple case: http://www.alphasoftware.com/alphafo...rmView-Control

            Does this help?
            Sarah Mitchell
            Documentation | Alpha Software Corporation
            Get in the know! Join us for our Weekly Webinars: TransForm Tuesday and Wednesday's Alpha Anywhere Demo and Q&A
            Connect with us: Instagram | Twitter | Facebook | LinkedIn | YouTube

            Comment


            • #7
              Re: Problems Adapting Demo App

              This is great to know that the FormView is a replacement for the Detail View. I was getting the hang of that view and its synchronizing policy setting. Also I could easily see how great it is to share editors as I am certainly playing around with. I also had no problem seeing the information change in my list after I saved it in the FormView and THEN in the SAVE TO SOURCE (list control). I didn't see how to "sync" the "saves" in my list control with the back-end database from whence I got my data for the list control on the UX. I have still not been able to demonstrate an actual change to my database table in the sky, but I probably simply need to install the Beta Application Server at ZebraHost from whence I get my data into the famous list control, right? Changes persist on my local device just fine...but when I open the MySQL table "practice" (I use Toad on my Remote Desktop at ZebraHost), I do not see the change there. Duh! I was so hung up on seeing the "sync" button on the sample app not being implemented (yet), that I probably was expecting my non-beta app server to handle stuff that the Beta Application Server is downloadable for. Not knowing the correct way to install that Application Server at ZebraHost that finally has AlwaysUp installed and handling making sure my non-beta Application Server is "always up" just fine...I was kind of waiting for an answer to the detailed instructions as to what and where to install the updates for the Tablet Optimized Beta testing. With the static data in the example, the saving/synchronizing to the MySQL database table(s) was not yet demonstrated...seeing somewhere that these updates should be downloaded often during the testing...how do I know when there has been any modifications so I know when to re-patch, etc.? Thanks!

              Comment


              • #8
                Re: Problems Adapting Demo App

                Originally posted by kctermite View Post
                I didn't see how to "sync" the "saves" in my list control with the back-end database from whence I got my data for the list control on the UX.
                You can use the List Control and Action Javascript to accomplish this. First, check the "Has Detail View" property in your list control. Don't create any buttons or controls. Just check the box.

                Next, add a button to your UX Component. In the click event, add a new "List Control Actions" Action Javascript and configure the action to submit list edits to server. The submit list edits to server is a detail view action. It becomes available when you select "List Detail View Actions" for the Action name property. Save your Action Javascript and test.

                saveToServer_list.PNG

                Post back if you run into any issues!
                Sarah Mitchell
                Documentation | Alpha Software Corporation
                Get in the know! Join us for our Weekly Webinars: TransForm Tuesday and Wednesday's Alpha Anywhere Demo and Q&A
                Connect with us: Instagram | Twitter | Facebook | LinkedIn | YouTube

                Comment


                • #9
                  Re: Problems Adapting Demo App

                  Originally posted by kctermite View Post
                  how do I know when there has been any modifications so I know when to re-patch, etc.? Thanks!
                  The Beta is updated nightly, so every day there will be a new installer to download and run! Patch at your convenience.
                  Sarah Mitchell
                  Documentation | Alpha Software Corporation
                  Get in the know! Join us for our Weekly Webinars: TransForm Tuesday and Wednesday's Alpha Anywhere Demo and Q&A
                  Connect with us: Instagram | Twitter | Facebook | LinkedIn | YouTube

                  Comment

                  Working...
                  X