Filter out users in a drop down on PCFClaimCenter Web PCF files UI LabelsCannot modify a bean of type User that is in a readonly bundleOn Guidewire Billing Center is there a set of APIs to add/remove/delete users from the application?PCF page issue with capitalization

Do home values typically rise and fall at a consistent percent?

How to get a character's limb regrown at 3rd level?

Security Patch SUPEE-11155 - Possible issues?

How can a valley surrounded by mountains be fertile and rainy?

Losing queen and then winning the game

Handling a player (unintentionally) stealing the spotlight

Why won’t the ground take my seed?

Does the Pi 4 resolve the Ethernet+USB bottleneck issue of past versions?

Is there a canon reason why Klingon and Romulan vessels are so similar in shape?

Is there a legal way for US presidents to extend their terms beyond two terms of four years?

Sharing referee/AE report online to point out a grievous error in refereeing

My colleague is constantly blaming me for his errors

How can I tell what kind of genitals people have without gender?

Who are these Discworld wizards from this picture?

What's the safest way to inform a new user of their password on an invite-only website?

How can I deal with extreme temperatures in a hotel room?

Are all commands with an optional argument fragile?

Prime parity peregrination

What kind of jet plane is this?

If two black hole event horizons overlap (touch) can they ever separate again?

How to describe POV characters?

Sacrifice blocking creature before damage is dealt no longer working (MtG Arena)?

Can one use the present progressive or gerund like an adjective?

Why is Japan trying to have a better relationship with Iran?



Filter out users in a drop down on PCF


ClaimCenter Web PCF files UI LabelsCannot modify a bean of type User that is in a readonly bundleOn Guidewire Billing Center is there a set of APIs to add/remove/delete users from the application?PCF page issue with capitalization






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















In ClaimCenter I am trying to filter a drop down list to only display users that have a certain role. I am using a User input cell. There is no value range on the userinput cell only value. The value is set the user that they select so right now it's displaying all the users in the system instead of just the ones with the role that i want. Is there a way to show just the users that have the "Adjuster" role. I don't see a filter option either on this cell.










share|improve this question




























    2















    In ClaimCenter I am trying to filter a drop down list to only display users that have a certain role. I am using a User input cell. There is no value range on the userinput cell only value. The value is set the user that they select so right now it's displaying all the users in the system instead of just the ones with the role that i want. Is there a way to show just the users that have the "Adjuster" role. I don't see a filter option either on this cell.










    share|improve this question
























      2












      2








      2








      In ClaimCenter I am trying to filter a drop down list to only display users that have a certain role. I am using a User input cell. There is no value range on the userinput cell only value. The value is set the user that they select so right now it's displaying all the users in the system instead of just the ones with the role that i want. Is there a way to show just the users that have the "Adjuster" role. I don't see a filter option either on this cell.










      share|improve this question














      In ClaimCenter I am trying to filter a drop down list to only display users that have a certain role. I am using a User input cell. There is no value range on the userinput cell only value. The value is set the user that they select so right now it's displaying all the users in the system instead of just the ones with the role that i want. Is there a way to show just the users that have the "Adjuster" role. I don't see a filter option either on this cell.







      guidewire gosu






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 14:00









      iceMan33iceMan33

      14810 bronze badges




      14810 bronze badges






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Right click the element and select "Change Element Type"



          enter image description here



          Then select "Range Input".
          Then in the ValueRange property add a call to the code that you write.
          The code to should find the subset of users that you want to show in the drop down and return them as a List or User[], something like this might work



          function myValueRangeFunction(pClaim: Claim) : User[] 
          //gets the group from the DB by public ID
          var adjusterGroup = Group ("cc:123");
          var adjustersOnly = new Set<User>();
          var groupUsers = adjusterGroup.MembersNoSystemUsers
          adjustersOnly.addAll(groupUsers*.Users)
          return adjustersOnly.toArray()






          share|improve this answer






























            1














            You need to change the input type to Range Input (or Range Cell in case you are using List View) where valueRange property calls a method which retrieves users with a specific role.



            .pcf file:



            <RangeInput
            editable="true"
            id="userInput"
            label="&quot;Adjusters&quot;"
            value="claim.AssignedUser"
            valueRange="UserRoleUtil_Ext.Adjusters"
            valueType="entity.User"/>


            UserRoleUtil_Ext.gs:



            uses gw.api.database.Query
            uses gw.api.database.Relop

            class UserRoleUtil_Ext

            public static property get Adjusters() : User[]
            var adjusterRole = Query.make(Role).compare(Role#Name, Relop.Equals, "Adjuster").select().AtMostOneRow
            // Alternatively, you can retrieve the Role by its public-id, e.g.:
            // var roleRetrievedById = Query.make(Role).compare(Role#PublicID, Relop.Equals, "cc:1").select().AtMostOneRow
            return adjusterRole.AllUsersArray







            share|improve this answer

























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55339553%2ffilter-out-users-in-a-drop-down-on-pcf%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              Right click the element and select "Change Element Type"



              enter image description here



              Then select "Range Input".
              Then in the ValueRange property add a call to the code that you write.
              The code to should find the subset of users that you want to show in the drop down and return them as a List or User[], something like this might work



              function myValueRangeFunction(pClaim: Claim) : User[] 
              //gets the group from the DB by public ID
              var adjusterGroup = Group ("cc:123");
              var adjustersOnly = new Set<User>();
              var groupUsers = adjusterGroup.MembersNoSystemUsers
              adjustersOnly.addAll(groupUsers*.Users)
              return adjustersOnly.toArray()






              share|improve this answer



























                1














                Right click the element and select "Change Element Type"



                enter image description here



                Then select "Range Input".
                Then in the ValueRange property add a call to the code that you write.
                The code to should find the subset of users that you want to show in the drop down and return them as a List or User[], something like this might work



                function myValueRangeFunction(pClaim: Claim) : User[] 
                //gets the group from the DB by public ID
                var adjusterGroup = Group ("cc:123");
                var adjustersOnly = new Set<User>();
                var groupUsers = adjusterGroup.MembersNoSystemUsers
                adjustersOnly.addAll(groupUsers*.Users)
                return adjustersOnly.toArray()






                share|improve this answer

























                  1












                  1








                  1







                  Right click the element and select "Change Element Type"



                  enter image description here



                  Then select "Range Input".
                  Then in the ValueRange property add a call to the code that you write.
                  The code to should find the subset of users that you want to show in the drop down and return them as a List or User[], something like this might work



                  function myValueRangeFunction(pClaim: Claim) : User[] 
                  //gets the group from the DB by public ID
                  var adjusterGroup = Group ("cc:123");
                  var adjustersOnly = new Set<User>();
                  var groupUsers = adjusterGroup.MembersNoSystemUsers
                  adjustersOnly.addAll(groupUsers*.Users)
                  return adjustersOnly.toArray()






                  share|improve this answer













                  Right click the element and select "Change Element Type"



                  enter image description here



                  Then select "Range Input".
                  Then in the ValueRange property add a call to the code that you write.
                  The code to should find the subset of users that you want to show in the drop down and return them as a List or User[], something like this might work



                  function myValueRangeFunction(pClaim: Claim) : User[] 
                  //gets the group from the DB by public ID
                  var adjusterGroup = Group ("cc:123");
                  var adjustersOnly = new Set<User>();
                  var groupUsers = adjusterGroup.MembersNoSystemUsers
                  adjustersOnly.addAll(groupUsers*.Users)
                  return adjustersOnly.toArray()







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 27 at 1:21









                  dawogfatherdawogfather

                  4673 silver badges8 bronze badges




                  4673 silver badges8 bronze badges























                      1














                      You need to change the input type to Range Input (or Range Cell in case you are using List View) where valueRange property calls a method which retrieves users with a specific role.



                      .pcf file:



                      <RangeInput
                      editable="true"
                      id="userInput"
                      label="&quot;Adjusters&quot;"
                      value="claim.AssignedUser"
                      valueRange="UserRoleUtil_Ext.Adjusters"
                      valueType="entity.User"/>


                      UserRoleUtil_Ext.gs:



                      uses gw.api.database.Query
                      uses gw.api.database.Relop

                      class UserRoleUtil_Ext

                      public static property get Adjusters() : User[]
                      var adjusterRole = Query.make(Role).compare(Role#Name, Relop.Equals, "Adjuster").select().AtMostOneRow
                      // Alternatively, you can retrieve the Role by its public-id, e.g.:
                      // var roleRetrievedById = Query.make(Role).compare(Role#PublicID, Relop.Equals, "cc:1").select().AtMostOneRow
                      return adjusterRole.AllUsersArray







                      share|improve this answer



























                        1














                        You need to change the input type to Range Input (or Range Cell in case you are using List View) where valueRange property calls a method which retrieves users with a specific role.



                        .pcf file:



                        <RangeInput
                        editable="true"
                        id="userInput"
                        label="&quot;Adjusters&quot;"
                        value="claim.AssignedUser"
                        valueRange="UserRoleUtil_Ext.Adjusters"
                        valueType="entity.User"/>


                        UserRoleUtil_Ext.gs:



                        uses gw.api.database.Query
                        uses gw.api.database.Relop

                        class UserRoleUtil_Ext

                        public static property get Adjusters() : User[]
                        var adjusterRole = Query.make(Role).compare(Role#Name, Relop.Equals, "Adjuster").select().AtMostOneRow
                        // Alternatively, you can retrieve the Role by its public-id, e.g.:
                        // var roleRetrievedById = Query.make(Role).compare(Role#PublicID, Relop.Equals, "cc:1").select().AtMostOneRow
                        return adjusterRole.AllUsersArray







                        share|improve this answer

























                          1












                          1








                          1







                          You need to change the input type to Range Input (or Range Cell in case you are using List View) where valueRange property calls a method which retrieves users with a specific role.



                          .pcf file:



                          <RangeInput
                          editable="true"
                          id="userInput"
                          label="&quot;Adjusters&quot;"
                          value="claim.AssignedUser"
                          valueRange="UserRoleUtil_Ext.Adjusters"
                          valueType="entity.User"/>


                          UserRoleUtil_Ext.gs:



                          uses gw.api.database.Query
                          uses gw.api.database.Relop

                          class UserRoleUtil_Ext

                          public static property get Adjusters() : User[]
                          var adjusterRole = Query.make(Role).compare(Role#Name, Relop.Equals, "Adjuster").select().AtMostOneRow
                          // Alternatively, you can retrieve the Role by its public-id, e.g.:
                          // var roleRetrievedById = Query.make(Role).compare(Role#PublicID, Relop.Equals, "cc:1").select().AtMostOneRow
                          return adjusterRole.AllUsersArray







                          share|improve this answer













                          You need to change the input type to Range Input (or Range Cell in case you are using List View) where valueRange property calls a method which retrieves users with a specific role.



                          .pcf file:



                          <RangeInput
                          editable="true"
                          id="userInput"
                          label="&quot;Adjusters&quot;"
                          value="claim.AssignedUser"
                          valueRange="UserRoleUtil_Ext.Adjusters"
                          valueType="entity.User"/>


                          UserRoleUtil_Ext.gs:



                          uses gw.api.database.Query
                          uses gw.api.database.Relop

                          class UserRoleUtil_Ext

                          public static property get Adjusters() : User[]
                          var adjusterRole = Query.make(Role).compare(Role#Name, Relop.Equals, "Adjuster").select().AtMostOneRow
                          // Alternatively, you can retrieve the Role by its public-id, e.g.:
                          // var roleRetrievedById = Query.make(Role).compare(Role#PublicID, Relop.Equals, "cc:1").select().AtMostOneRow
                          return adjusterRole.AllUsersArray








                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 27 at 9:00









                          Volodymyr OsmukVolodymyr Osmuk

                          561 silver badge6 bronze badges




                          561 silver badge6 bronze badges



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55339553%2ffilter-out-users-in-a-drop-down-on-pcf%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                              용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                              155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해