Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

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

A5W Page Filter and Order Syntax

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

  • A5W Page Filter and Order Syntax

    I want to modify my URL to filter a UX component.

    I found this documentation, which seems to get at what I am trying to do, but it is very dated, and not for version 12.

    http://support.alphasoftware.com/MyS...ter_Syntax.htm

    Any way to do this is v12? Anybody have a document to share? Or would know what the proper syntax would be?

  • #2
    Re: A5W Page Filter and Order Syntax

    It's a bit hard to understand what you'd like to do here. Not sure what you mean by modify your URL.

    Do you want to process Request Variables passed in via your URL when your UX opens in order to filter a data bound UX component?

    Comment


    • #3
      Re: A5W Page Filter and Order Syntax

      Yes, what you said.

      If a user is on the desktop, they will start on this page:

      https://snap.scansourcesecurity.com/sales_map.htm

      For mobile app, I'll build a page with a dropdown of states.

      But basically, select a state, and the same UX component you were helping me with:

      https://snap.scansourcesecurity.com/sales.a5w

      would filter to show only sales reps in that state.


      I have a field named "Region" in my table that has state abbreviations. So I'm not sure if it is best to modify the URL as I stated above. So maybe if they click on Texas, it would just be a URL that looks like this:

      https://snap.scansourcesecurity.com/...lter=Region=TX

      Although I don't think that syntax is correct for v12, and not sure if this is even the way to do this in v12.

      Comment


      • #4
        Re: A5W Page Filter and Order Syntax

        Could you post your sales_map component / page? That will help.

        For mobile, you don't want to open another page... just another panel containing your sales info.

        I might do the same for a web page... use panels inside a page and just transition from the map to the sales list.

        Comment


        • #5
          Re: A5W Page Filter and Order Syntax

          I am attaching my sales map. It's not an .a5w component file though, just .htm

          It probably will look ugly if you import it into Alpha Five.



          sales_map.zip

          Comment


          • #6
            Re: A5W Page Filter and Order Syntax

            Nobody has any ideas on this? I have a non-alpha webpage where you can click on a state to trigger a URL. I can make the URL for each state anything I want. I ultimately want all URLs to point to the same UX component. The UX component has a list with a bunch of sales people in it. I want to filter that list based on the URL, to show only sales reps in that state. Can that be done this way? Or is there a better way? (keeping in mind that the map I am referring to is not an alpha component of any kind).

            Comment


            • #7
              Re: A5W Page Filter and Order Syntax

              Carl,

              I replied to another one of your posts and laid out for you how to do this.

              Comment


              • #8
                Re: A5W Page Filter and Order Syntax

                Ok, thanks. It didn't fully make sense to me (probably because I am so new at this). I'll look at it again.

                Comment


                • #9
                  Re: A5W Page Filter and Order Syntax

                  I will post a sample ux demonstrating how it works for you.

                  Comment


                  • #10
                    Re: A5W Page Filter and Order Syntax

                    Here you go Carl

                    Be sure to publish all of the files. I included a dbf with some dummy data. To try and mirror your current configuration I created a htm page with a simple select and button with the inline javascript necessary to create the url that will include the request variable. Be sure to open the htm page and start from there once you've published everything.

                    This is a very simple example but it demonstrates how it can work as long as you can access the onclick event for when the state is clicked on in your html based map. I feed a request variable to the ux and assign the request variable to a session variable. I use the session variable to filter the list. Look at the Server-Side OnDialogInitialize event for the request variable function.

                    I am not suggesting that this is the "best" possible design approach but it does provide you with the information you requested.

                    RequestVariables.zip

                    Comment


                    • #11
                      Re: A5W Page Filter and Order Syntax

                      Thank you so much! I'll check this out today.

                      Comment


                      • #12
                        Re: A5W Page Filter and Order Syntax

                        Josh, your method works great. Thanks for your help with this, I really do appreciate it!

                        Comment


                        • #13
                          Re: A5W Page Filter and Order Syntax

                          Hey Josh, any thoughts on if I wanted a sales rep to be assigned to more than one state? Would I need a field for each state, and perhaps a yes or no as the data? Or is there a way I can have a single state field, but have multiple entries?

                          Comment


                          • #14
                            Re: A5W Page Filter and Order Syntax

                            I guess for state, I could do comma separated values: NC,SC,TX, etc. But when I try to filter by SC for example, it doesn't return a field with multiple options, I guess because it is looking for just SC. Wondering if there is a better way.

                            Comment


                            • #15
                              Re: A5W Page Filter and Order Syntax

                              Have you been able to attach a State click event to the map?

                              Comment

                              Working...
                              X