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

UX to UX redirect in mobile app

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

    UX to UX redirect in mobile app

    How to do UX to UX redirect in mobile app?
    I have login UX(it contains register, login, reset etc.) and after login based on whether user is player or coach I want to redirect user to player UX or coach UX. Each ux has complex functionality so I do not want to dump them on single ux with panel cards. I already have multiple panel cards in each UX.
    Also the web browser URL of same app should work well with redirect in desktop web browser.
    Last edited by amitloh; 07-02-2017, 08:38 PM.

    #2
    Re: UX to UX redirect in mobile app

    It would really depend on where they are at and where you want them to go FIRST, secondly you would need to get their repsective GROUP and then you can direct them based on that. In my case, I have a login screen that loads in a window an a5w page and on that page are buttons that show or hide based on their group_id. I think I really did it that way because I really had no clue how to do it any other way.
    You can also create a button that has a click action that is just javascript that basically says, if the group_id = xxx then go to "url"
    If your like me, and nobody writes the javascript for you, you can do like I did and just show or hide the buttons based on the group_id of the logged in user.
    My UX on my member_checkpage is my users table with a one to one relationship with the members table and I filter the record based on the user so at that point I have the group_id that they belong to - but AGAIN there are probably a bunch of ways to do it.

    Bottom line is you need to get the group_id from the members table that belongs to the user first - figure out how to do that and you will probably come up with a solution that works for you.
    Once you have that, it is just a matter of a show hide for a bunch of buttons OR a JS function that points to the URL you want based on the id.
    NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

    Comment


      #3
      Re: UX to UX redirect in mobile app

      Thanks. I am not sure if I can use a5w page in mobile app. Mobile app only allows me to select UX as component. I will give it a try. I have login ux, player ux and coach ux. On login based on whether user is player or coach I need a ux redirect in mobile app to player or coach ux without writing heavy code.

      Comment


        #4
        Re: UX to UX redirect in mobile app

        I tried redirecting to a5w page but on my android mobile it shows a source code of the page. I need ux redirect replacing Login ux(after login) in mobile app. How to do that?(not a panel card same UX)

        Comment


          #5
          Re: UX to UX redirect in mobile app

          is this a phone gap app or a web app?
          NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

          Comment


            #6
            Re: UX to UX redirect in mobile app

            Phonegap

            Comment


              #7
              Re: UX to UX redirect in mobile app

              Do you have any other tables associated with the user login? For example I use sql tables for login security. websecurity_users, websecurity_members, etc. In addition to that I have a table called security_registeredusers. That table has additional information about the user and more specifically the user type. After login is complete then this table is read for the specific user information to set session variables and what specific a5w page to load for their menu. That allows us to have one login page, but then directs the user to their specific menu. In our case we have one menu or UX for in-house, another for contractors and another for customers.

              Mike
              Mike Reed
              Phoenix, AZ

              Comment


                #8
                Re: UX to UX redirect in mobile app

                Thanks . I don't have any other table. Can you please send me ux to ux redirect script for phone gap

                Comment


                  #9
                  Re: UX to UX redirect in mobile app

                  No, we cannot send you a UX with a script to redirect to another UX because it would not help you - you wanted to redirect to another UX based on the user group AND to do that you would need to get that FIRST.

                  If all you wanted to do was OPEN another UX component you could do that with an action javascript button action.
                  The most important thing you need to do is to get a hold of your users' group_id so you can THEN redirect that user based on the group.

                  Now on the other hand if you have no idea how to open another UX, that is a different story and very simple - just add a button and then add an action javascript action for the on click event, upload both components and your build to PG and your done.

                  Define what you want to do and break it down into smaller steps - you will get there.
                  NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                  Comment


                    #10
                    Re: UX to UX redirect in mobile app

                    Thanks Charles. I am now able to get group id but when I add js action with open UX component(phonegap mobile app) but its not redirecting to another ux(doing nothing). I have test button that should do this redirect.
                    Please advise.Untitled.png
                    Last edited by amitloh; 07-04-2017, 07:19 AM.

                    Comment


                      #11
                      Re: UX to UX redirect in mobile app

                      I found it!

                      Comment


                        #12
                        Re: UX to UX redirect in mobile app

                        Now I was able to embed UX component but the styling of menu is completely off on embedded ux(it works great as standalone UX), trying to find right setting of css...
                        what its doing is its addin login_ to each class of embedded component. SAMPLEPLAYER123.V.R1.VIEWBOX.CONTROL making it login_SAMPLEPLAYER123.V.R1.VIEWBOX.CONTROL and thats why menu is completely off. I am trying to find this setting to disable adding login_(my main ux)
                        Last edited by amitloh; 07-04-2017, 08:19 AM.

                        Comment


                          #13
                          Re: UX to UX redirect in mobile app

                          there are several ways to "fix" the styling, but I would look in the optimization properties of the UX first as this allows the style to be changed at run-time. I would highly encourage you to look around at all of the options in the parent UX as well as the target as there are many options that will make your PG application run like a champ!
                          NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                          Comment


                            #14
                            Re: UX to UX redirect in mobile app

                            It's just my opinion, but I think you need to take a step back and do some planning for your PhoneGap Build App. You've gone from Grids as a definite solution, to Repeating Sections as a definite solution, to the ViewBox to multiple UX Components. Each iteration seems to be "Damn the torpedoes, full speed ahead"... and each time you get sunk. With each "solution" you're trying to wrangle Alpha into doing something it's not supposed to, and shouldn't, do. Now you're trying to jump from UX to UX in a mobile app, without using Embedded Components and using Security and you're wondering why you have troubles.

                            Build your app with a UX using Integrated Login... and all within 1 UX. Embed a UX if you must, although you probably don't need to. I know you'll have a dozen reasons for not following a simple route... you don't really need to list them... I'd just thought I'd wade in after reading post after post of mis-firings.

                            Comment


                              #15
                              Re: UX to UX redirect in mobile app

                              Yeah, I agree as well but I am damn the torpedoes myself, lol! It is a great learning experience if nothing else. Davids advice to plan is probably the single best advice in this thread. Personally, I use a single UX with embedded components that delay render since I use session variables for the MAIN filter. Good Luck
                              NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                              Comment

                              Working...
                              X