Pages

Thursday, December 15, 2022

Hide Sharepoint Web Parts using Javascript

 I have placed List webpart to filter some value then pass to other Webpart to display filtered Content.

The following code will hide the List webpart then users will not see those Hidden Value.

you just find that webpart ID and add in the following code.

Add this to Script Editor Webpart. Publish the page then the web part will be hidden.


Work Around Code:

<script type="text/javascript">

document.getElementById('MSOZoneCell_WebPartWPQ6').style.display='none';

</script>

Wednesday, September 28, 2022

Impact of deactivating the Limited-access user permission lockdown mode feature

Rquirement:

To provide granular & Folder level permissions to individual folders in a document library. I attempt to do this by clicking the Share function on the folder but get a message that I cannot because of the Limited-access user permission lockdown mode feature. What is this feature used for? Are there features that are dependent on this feature? What is the impact of disabling it?


  1. if you want to use the sharepoint server publishing infrastructure feature, you will lose the feature of sharing a folder. you can share files in the folder with other users instead.

  2. if you don’t use the sharepoint server publishing infrastructure feature, you can disable the limited-access user permission lockdown mode feature to restore the feature of sharing a folder.

Tuesday, August 2, 2022

Nintex Office 365 Form - Cannot access in Chrome or Edge Incognito Browser - An Error Occurred. Contact Your Site Administrator to update the app

An When I try to open Nintex Office 365 form, which is showing this Error


"An Error Occurred. Contact Your Site Administrator to update the app."




Root Cause of the Issue:

Google Chrome or browser is starting to implement more security controls in regards to third-party cookies, which is present in Incognito mode . They are beginning to block third-party cookies which Nintex Forms uses to communicate information between SharePoint Online and Nintex office 365 Forms - and Nintex form has blocked, Nintex Forms will not work correctly.


Chrome Browser Solution:

You can do this by:

  1. Open Chrome's Cookies and other site data settings chrome://settings/cookies
  2. Under Sites that can always use cookies add the follow sites, and ensure All cookies, on this site only is NOT selected.

    • [*.]nintexo365.net
    • [*.]nintex.com
    • [*.]sharepoint.com
    • login.microsoftonline.com

Edge Browser Solution:


  1. Launch the Microsoft IE Edge Browsser
  2. Click on horizontal 3dots icon menu for options.
  3. Select Settings from the list.
  4. Switch to the Cookies and Site Permissions from the sidebar menu.
  5. Choose the Cookies and site data option within Site permissions.
  6. Toggle the button to turn ON to Allow sites to save and read cookies data.

Tuesday, June 14, 2022

characters use to replace in REST API query

 If you have Special characters(like $Filter=Title eq Vikram's & Pvt. LTD) exist in query then how can i replace special characters in REST API call.


The special characters should be encode to UTF-8 format. Please find the below table to replace the special character.

CharacterEncode (UTF-8)
space%20
!%21
"%22
#%23
$%24
%%25
&%26
'%27
(%28
)%29
*%2A
+%2B
,%2C
-%2D
.%2E
/%2F

For more Reference: http://www.w3schools.com/tags/ref_urlencode.asp

Friday, May 6, 2022

Nintex Office 365 form Attachment Cusom Validation

 I have Nintex office 365 form to implement validation rule for attachment is mandatory field.

Please include Jquery Code + Form Validation Rule.

JQuery Form Loading Code:


NWF$(document).ready(function () {

    try {

var chkUATAttachment = NWF$("#" + JSchkUATAttachment);

chkUATAttachment.prop('checked', true);

        NWF.FormFiller.Functions.ProcessOnChange(chkUATAttachment);

   }

    catch (e) {

        console.log(e);

    }

});

function GetNumberOfAttachments(attCtrlClassName){   return NWF.FormFiller.Attachments.GetAttachedFilesCount(NWF.FormFiller.Functions.GetFillerDivObjectForControl(NWF$("#"+NWF$("." + attCtrlClassName + " .nf-attachmentsRow")[0].id)).data('controlid'))}



Rule: