9 Replies Latest reply on Jun 17, 2014 2:00 AM by Peer Larson

    Change data in List (for cards) in EPDM.

    Gary Williams

      I want to add more detail to list entries but the lists have been used in datacards for a couple of months.

       

      I think that if I change an list entry (add or subtract) and EPDM cannot find a match in the datacard it clears the variable value completely.

       

      Is anyone able to verify this scenario?

       

      How do I update lists without affecting EPDM datacards?

       

       

      Thank you,

      Gary.

        • Re: Change data in List (for cards) in EPDM.
          Ron McCarry

          As I understand it from my reseller, you are correct. In general, we only use lists in template cards. You could test it by adding something to a list, selecting it in a card, delete from the list then edit the card and see what happens.

          • Re: Change data in List (for cards) in EPDM.
            Michael Dekoning

            Gary,

            The value hasn't changed but since a matching entry no longer exists in the list, nothing is displayed in the droplist control. You have a couple of options that I can think of.

            • Use a combobox control so that the value can be displayed even though it is no longer in the list
            • Add a edit box control directly on top of the droplist control and make it read-only

            The downside of the first option is that a user could enter a value that is not in the current list. That is why I came up with the second option. It's a bit tricky getting the controls lined up and it looks a little bit funky, but it works.

            Mike

            CEPA

              • Re: Change data in List (for cards) in EPDM.
                Gary Williams

                Combobox did not work. The values in the datacard blanked out when I changed the list values.

                 

                I had to leave the existing values in the list, and add the new entries to the top of the list.

                Not what I would like to do since people can still pick from the old entries at the bottom of the list.

                 

                I really don't understand why the values needs to be in the list if the database has saved the values to variables.

                 

                I am not sure about your second option. How do I ensure that the user is selecting the combobox and not the read-only droplist?

                 

                 

                Gary.

                  • Re: Change data in List (for cards) in EPDM.
                    Michael Dekoning

                    I made the edit box only as long as the area where the text shows in the droplist control so that the down arrow is exposed.

                    editdroplist.PNG

                     

                    I made the height of the controls equal and then aligned the left side and top. The edit box is set to read-only as well.

                      • Re: Change data in List (for cards) in EPDM.
                        Gary Williams

                        It is very annoying that users have to go through these lengths to make the software do what we need.

                        More often than not, it seems like the tail is wagging the dog, rather than the dog wagging the tail.

                         

                        Michael,

                        I have not had a chance to try edit box over the droplist.

                        This sort of details is starting to really eat up my time!

                          • Re: Change data in List (for cards) in EPDM.
                            Peer Larson

                            Hi Gary,

                             

                            Michael is on the right track.  What occurs with the drop list is that if the variable has stored a value that doesn't match the list then it will show nothing.  You could set it to "History" and it may then show any previously entered value.  Of course it may only apply to previously entered values since you've switched to Special Value: History.

                             

                            However, the real way to know is to check the preview tab on the right where the variables are shown.  Even if your droplist box is empty the preview tab will show what value is stored.  This is why the edit box is a nice idea because it simply shows what is stored without needing to match it to anything.

                             

                            Let us know!

                             

                            -Peer

                    • Re: Change data in List (for cards) in EPDM.
                      Derek Lawson

                      Gary,

                       

                      Check out this post at InFlow-Tech.com

                       

                      http://blog.inflow-tech.com/inflow/2013/10/solidworks-enterprise-pdm-epdm-update-a-data-card-list-through-the-data-card.html

                       

                      The list functionality described there doesn't run off of a static text list that you maintain, but rather creates the lists based of whatever values exist in the vault. It reads all of the existing values for a variable and uses that information to populate the drop down list. That way, you are able to create new values for the list, but if an older value still exists somewhere in the vault then it still exists in the list. It may not be what you're looking for exactly, but it may help stop the tail from wagging the dog.

                       

                      Best Regards,

                       

                      Derek M. Lawson