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

List Controls Not Working After Updating Alpha Software Version

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

    #31
    Re: List Controls Not Working After Updating Alpha Software Version

    When I upgraded to 5221, the reports on all of my components that used list Controls and then CurrentListFilter('list1') for reports broke and were not honoring the BASE filters of the list, just the filters via a search by the user after the list was opened. So... if the list was opened filtered to one job, for example, before it was opened, and then user did report, it showed ALL the jobs. Selwyn sent me this code to put in the client side event OnRenderComplete to take care of that issue, which meant I had to do it on hundreds of components.... BUT anyway, I don't think my base filters for the list control itself were breaking like yours, but maybe some were and I didn't notice because I put that code in and it fixed that too?

    Selwyn said this was fixed in a pre-release after the 5221 one, but I didn't want to get the pre release and risk other things breaking.

    Since your question seems to relate to base filters on a list control, I thought you might see if this code Selwyn sent helps you...

    Code:
    //Reports were only recognizing filters from Search on the list control, but NOT filters set
    //before component was opened!!!  Put this code in client side OnRenderComplete
    
    {dialog.object}.listFilterOrder =  function(listId) {
    	var mode = 'filter' //mode can also be 'userFilter' which does not include the base filter
    	if(typeof arguments[1] != 'undefined') mode = arguments[1];
    	var obj = {filter: '', order: '', parameters: ''};
    	var lObj = this.getControl(listId);
    	if(lObj) {
    		if(mode == 'filter') {
    			obj.filter = lObj._state.whereClause;
    			obj.parameters = lObj._state.whereParameters;
    			if(typeof lObj.childLists != 'undefined') {
    			}
    		} else {
    			obj.filter = lObj._state.filter;
    			obj.parameters = lObj._state.filterParameters;
    		}
    		obj.order = lObj._state.order;
    	}
    	return obj;
    }
    Carol King
    Developer of Custom Homebuilders' Solutions (CHS)
    http://www.CHSBuilderSoftware.com

    Comment


      #32
      Re: List Controls Not Working After Updating Alpha Software Version

      So code was sent to you to fix stuff like a band-aid approach to a larger ailment? Was there a promise to fix it?

      Comment


        #33
        Re: List Controls Not Working After Updating Alpha Software Version

        Selwyn did say it had been fixed. This discussion happened with him in September when I updated to 5221, so it was fixed per Selwyn before the latest new release. I did not want to get the pre-release at the time because I did not want to introduce any possible new bugs from the pre-release, and needed to put the 5221 one into production, so I did the 'Band-Aid'.
        Carol King
        Developer of Custom Homebuilders' Solutions (CHS)
        http://www.CHSBuilderSoftware.com

        Comment


          #34
          Re: List Controls Not Working After Updating Alpha Software Version

          Should I try a previous version than 5221 to see if it works? I tried downloading one from the site but was having problems downloading it. Maybe the site is having trouble right now. Any recommendations on which version I should try?

          Comment


            #35
            Re: List Controls Not Working After Updating Alpha Software Version

            We had issues with embedded UX and not all arguments being defined in UPPERCASE in both the parent and child UX. making this change seems to have fixed our issues. YMMV

            Comment


              #36
              Re: List Controls Not Working After Updating Alpha Software Version

              I don't see any difference between builds 5221 and some of the later version like 5303 and 5464 with how AA's listFilterOrder function is defined.

              To me it looks like Selwyn had Carol remove the code that sets different obj.filter and obj.parameters when the UX contains child lists. But the code he had her remove still exists in later builds! Unless I'm overlooking a small change like incorrect case on a variable name, I don't see any other difference. Maybe the permanent fix was done some place else?

              Part of the code in post # 31
              Code:
              if(typeof lObj.childLists != 'undefined') {
              }
              }

              The same portion of code from builds 5221 and later:

              Code:
                              if (typeof lObj.childLists != 'undefined') {
                                  if (lObj.childLists.length >= 0) {
                                      obj.filter = lObj._state.filter;
                                      obj.parameters = lObj._state.filterParameters;
                                  }
                              }

              Comment


                #37
                Re: List Controls Not Working After Updating Alpha Software Version

                On Sept 18th, Selwyn wrote saying the issue I was having was fixed and would be in next day pre release
                Last edited by kingcarol; 11-21-2018, 09:02 AM.
                Carol King
                Developer of Custom Homebuilders' Solutions (CHS)
                http://www.CHSBuilderSoftware.com

                Comment


                  #38
                  Re: List Controls Not Working After Updating Alpha Software Version

                  Integrated Security option was checked on the UX, which was the main UX (not login), and that was causing the List Control Issue.

                  Comment


                    #39
                    Re: List Controls Not Working After Updating Alpha Software Version

                    A quick note on upgrades. We recently went from the version released in April to the version just before the latest release (I think 5447). All of our list controls had problems. In order to fix, we had to do the following:

                    Create a new ux
                    Create a new primary list (whatever the top level list was)
                    Create a detail view
                    Create the list action buttons (save, delete, etc.)

                    Publish and test on live server.

                    Once we did that it worked fine. Then, we could copy and paste in the other controls (such as related lists) into the new ux and it would work fine. Recalculating did nothing. We also tried creating a new ux component and pasting in all controls, and that failed as well. The answer was to do what I listed above. It's possible there is something else at play for your app, so paste in controls in small segments and test after each, that way you can easily isolate any other issue.

                    We hope to move everyone to Alpha Cloud as it's a way better environment for updating and testing side by side. Anyone want a sub account on the cloud let me know.

                    Comment

                    Working...
                    X