Rules with people picker field are not working

Home Forums General discussion Rules with people picker field are not working

Viewing 17 reply threads
  • Author
    Posts
    • #25358
      First Eagle
      Participant

        Hi All,

        can someone assist me to fix this issue ? the rules set with people picker fields are not working.

        You can see one of rules attached.

      • #25361
        Alexander Bautz
        Keymaster

          Hi,
          You might need to set a delay of for example 500ms in the Misc tab > Defer loading of DFFS.

          Alexander

        • #25415
          First Eagle
          Participant

            Thank you Alexander,

            it’s working now.

            I’ve check the tick box to skip all subsequent rules, but it’s not working. can you please help me for that.

            Attachments:
          • #25424
            Alexander Bautz
            Keymaster

              What is it that’s not working? – does some of your rules with a higher index trigger even if they should not? – have you tried to activate debug on all rules to see which is actually triggering?

              Alexander

            • #25470
              First Eagle
              Participant

                Hi Alex,

                Thanks for your advices, i’ve debug and fix all of issues.

                Thanks a lot.

              • #25472
                First Eagle
                Participant

                  Hi Alex

                  Please assist me for the below concern,

                  I want to hide the Edit ribbon wich appearing by default on New, Display and Edit Form; and hide the list name with appear on top of New form.

                  Please assist me.

                  Thanks in advance

                  Attachments:
                  • #25475
                    Alexander Bautz
                    Keymaster

                      If you like to hide the entire ribbon you can use this custom js:

                      jQuery("#s4-ribbonrow").hide();

                      Alexander

                  • #25477
                    First Eagle
                    Participant

                      Thanks Alexander,

                    • #26316
                      First Eagle
                      Participant

                        Hi Alexander,

                        Hope this message find you well,

                        While i try to hide the ribbonrow using this JavaScript the size of dialog Box in affected because it shifts the form content up. please how can i fix it ?

                        Thanks in Advance for your help.

                        Best

                      • #26344
                        Alexander Bautz
                        Keymaster

                          By fix it do you mean to not shift the form up when hiding the header, or to resize the dialog to fit after the header has been removed?

                          If it is a dialog resize you want you can run this function when the header has been hidden:

                          spjs.dffs.resizeDlg();

                          Alexander

                        • #26356
                          First Eagle
                          Participant

                            Hi Alexander,

                            thanks for your feedback.

                            jQuery(“#s4-ribbonrow”).hide();
                            spjs.dffs.resizeDlg();

                            i’ve run it but the form still not resized.
                            please is there something wrong on my side ?

                            Best

                          • #26360
                            Alexander Bautz
                            Keymaster

                              I’m not sure what it could be, but if you post a few screenshots (please mask any sensitive information) I’m at least sure I fully understand what you mean.

                              Alexander

                            • #26372
                              First Eagle
                              Participant

                                Hi Alexander;

                                please look at on this printscreen

                                Best

                                Attachments:
                              • #26375
                                First Eagle
                                Participant

                                  the heigh of this form is bigger than its appear on this print screen.

                                • #26380
                                  Alexander Bautz
                                  Keymaster

                                    It’s a bit unclear from the screenshot, but it looks like you are not opening the form in a modal dialog? – if not, the spjs.dffs.resizeDlg() function will not do anything.

                                    Please give me some more details about how it looks vs what you want it to look like.

                                    Alexander

                                  • #26385
                                    First Eagle
                                    Participant

                                      Hi Alexander,

                                      Thanks for your feedback,

                                      but if this “it looks like you are not opening the form in a modal dialog?” is true; how can i open my form in the modal dialog ?

                                      please look at the attached print screen where the ribbon in not hidden, i want the form to still with the same size after hidding the ribbon.

                                      Best regards

                                      Attachments:
                                    • #26394
                                      Alexander Bautz
                                      Keymaster

                                        No, I don’t think you should open the form in a dialog – full page view is better, but I don’t understand what you mean by hiding the ribbon – is it the red banner in the top of the page – with SharePoint | Sites or the part with the logo and the IT Service Request label?

                                        If you only want to hide the content in the ribbon and not completely remove it you can try this snippet instead – but keep in mind I’m not 100% sure I understand what you mean.

                                        jQuery("#s4-ribbonrow").css("visibility","hidden");

                                        Alexander

                                      • #31230
                                        Halim Lahoud
                                        Participant

                                          Hello Alexander,
                                          I used your solution to hide the banner but is there a way to make the banner to be closed when the user opens the item (as if he clicked on Browse) and then if he wants to access to the banner he will click View

                                          Thank you in advance
                                          Halim Lahoud

                                        • #31240
                                          Alexander Bautz
                                          Keymaster

                                            This is a bit tricky as the ribbon will dynamically adapt to the type of field you are focusing on, but you can try using this instead of hiding it:

                                            setTimeout(function(){
                                                jQuery(".ms-browseTab span:first")[0].click();
                                            },100);

                                            Alexander

                                        Viewing 17 reply threads
                                        • You must be logged in to reply to this topic.