SharePoint/PnP-PowerShell has provide a great efforts to minimize code and increase productivity in SharePoint Online Development.
Recently we have to remove bulk amount of user from SharePoint Group. We decided to go with pnp power shell script to do it. As per the document Link – Remove User From Group below is the code.
Remove-PnPUserFromGroup-LoginName <String>-Identity <GroupPipeBind>[-Web<WebPipeBind>]
PS:>Remove-PnPUserFromGroup-LoginName email@example.com -GroupName 'Marketing Site Members'
But above code didn't work.
Actually we have to provide the -LoginName string like "i:firstname.lastname@example.org"
and its work.Below is the working script.
Remove-PnPUserFromGroup -LoginName "i:email@example.com" -GroupName 'Document'
Yammer is very cool social media plugin within the office. It makes more strong bonding among departments. We found it very useful tool in our organization. With the new Roadmap plan, MS has enhanced its features with Some basic options.
Beginning July 2017, Yammer users with a Skype for Business subscription will start seeing the Skype for the Business icon on the Office 365 navigation bar in Yammer.
This message is associated with Office 365 Roadmap ID 14805.
On the navigation bar, click (or tap) the Skype for Business icon ( ).
Choose the Skype for a Business task that you want to do.
Search for people in your organization
Click (or tap) the magnifying glass ( ).
In the search box, type the name of who you want to contact.
Select the person from the contacts list.
To add the person to your contacts list, click Add To Contacts.
View your contacts list
Click (or tap) the address book icon ( ).
Choose a contact from the list or search for someone else.
Start a conversation
Click (or tap) the plus sign ( ).
In the conversation window, type your message.
How does it affect me?
Yammer users with Skype for Business subscription can now launch and perform some basic Skype for Business tasks right from their Office 365 navigation bar in Yammer.
This feature will initially be available for first release customers and will start rolling out to a subset of production customers starting mid-July, with the majority of customers receiving this update by the end of July.
What do I need to do to prepare for this change?
This feature will be on by default. While no action is required,
Sometime you sense very dissimilar like you oversight something in your life. Same feeling I am having due to my last day at NBAD. Aimed at short period of time I encountered a team which has good strength and outstanding technical communication.
A team with calm and diminish observance. I will never forget this miles stone in my life, even though I have been a slice of numerous professional team but occupied with this team like additional work without knowing that you are burdened
Recently I configured SharePoint 2016 Review release to have a deep look at the new changes contrary to 2013. During configuring user profile services I dint find User profile service Synchronization in services on server only user profile services, I checked the FIM has been removed in favor of Microsoft Identity Manager.
MIM is a separate server technology (not built-in to SharePoint Server). That means, if you have MIM running in your company, more than one SharePoint Server 2016 farm can rely upon it.
Active Directory Import (sometimes called Active Directory Direct Import) is also included with SharePoint Server 2016, and is a User Profile Synchronization alternative that will not need a separate server installation. This means that SharePoint Server 2016 offers two options for User Profile Sync.
My blog will help to load data from SharePoint list regardless of list-view threshold limit . I have been through many forums and even I experienced bit difficulty to load data from list having record greater than limit defined by the SharePoint administrator (threshold limit). I have created a simple JS file with some functions to load data in chunks. i.e. My JS function will automatically take the total count of list and break them in the chunks and iterate them. In the result it will provide the array of items requested by the user.
Final Methods will runs once all the data finish loading
Just add the attached JS file to your SharePoint Solution and call the below mentioned function. In return once the data get loaded , it will write the desired array to flatArray and update var TransactionComplete = 1; further you can use flatArray with data in your app. JS File – Click here to Download – Rename PDF to JS
Funciton to call GetListItem(siteurl,listname,columns)
In this post I would like to share the combination of little efforts using Infopath 2010 forms. In this post I will Design a new InfoPath form 2010 and that form will insert into the SharePoint list by using share Point object model.
Scenario : I have Created a List name Location, having Column Title, City and ZipCode. I will be inserting in the Location List by using InfoPath Form.
First We need to Design the InfoPath Form, during this step we need to consider some important steps.
Before we need to add the Event handler for the button to submit the item to the SharePoint list. just right click the button, select properties.
Click Edit Form Code, after click Info path will open the Visual studio 2005 , with the event of button. Once VS2010 Open we need to Add the reference of Microsoft.SharePoint dll to the project. After use the following code to insert in the SP List
Build the VS2005 and Close after successful build. Now our InfoPath design work has been done. we need to check some more options for publishing it and attached it to the webpart.
Once we design the Form, we need to go to the Developer Tab —- > and choose Language option as mentioned in the below screen shot.
here we need to set some notes which will help us to deploy the info path form easily. First option is the filler feature , i checked only the Print option. for more info regarding the info path filler feature use the this Filler Feature.
Now select Security and Trust , option and marked as Full trust , below screen shot.
Choose the preferred programming language, and Then select the Compatibility option. here we need to set this Info path form as web browser form and also mentioned the url of info path web service which can let it open in browser. screen shot is below.
Save the form, and go to file and Select Publish option. In the published option choose the SharePoint server, enter the site url, it will create and new content type and give the published version of infopath which we can save it in our local drive.
now after this wizard save the xsn file to your local hard drive. this .xsn we will upload and will deploy.
now do the next next and published it.
Now this published wizard has created a new content type in the Server and give us a publised, administrator approved template.
Note : Actually in the real world, we will design the info path form and just save it, than go to the Site Administrator, who will published it, give us a new approved template copy and create a content type on the server, because he is the administrator.
Now we need to to upload (the published .xsn file ) it on the Central Adminitration — > General Application setting –> Info Path Form Services, select Upload form template.
Browse the .xsn file which we save it on our local pc, once upload the form template , we can verify, and upload successfully.
Now we need to go to the Site Collection Administration — > Site Collection Feature—-> in the feature we can have the newly uploaded info path form feature , activate it.
To check the form is ready or not, go to the Site action –> and Select All Site content— go to the Form Template Library , in that library you will have your newly deployed info path form.
Note : It is better to Create a New Content Type, and Select Parent Content Type as Microsoft InfoPath. Then newly featured Activated form deployed on the site will come in the drop down.
Now ,we can get the name of content type of this form by select the library setting and go down and get the content type name, this content type will be required for newly document form library, which will help us to integrate this published form to info path viewer webpart.
Recently I come accross one another issue 🙂 in the SharePoint 2010, which was provided to me and I solved it . When the user try to run (SPMETAL.exe) to generate proxy code for any webpart for a Linq Query , the SPMETALEXE was throwing following error. Feature XXXXXXXXXXXXXXXXXXXX for list template 10001 is not installed in this farm.
First I tried the SPManager Tool to search the Fetaure Id, but I didnt find the feature with the ID XXXX , so this got failed without solving issue. I download the SPFeatureAdmin Tool to remove any faulty feature but that one also not helpful in this regards.
it was seems to me that Issue in the feature itself, at the galance i thought if I remove the feture by force form the farm then the isssue will be solved, so I tried to use STSADM command to forcefully remove it. stsadm -o uninstallfeature -id XXXXXX -force but still the same error .
I post my answer on the MSDN where I get some clue, I planned to Add a new custome list template with the type 1001 and tried to deployed, but still the same error.
Remove the Feature from the Farm, through STSADM. Keep the Feature ID.
Create new SP Empty project and Create the contenttype and create a new list definition with the list templete 10001, In my case I added the one content type and make it property Overwrite=”True” because I was having content type Error as well.
by doing this we can overwrite our content type with new fields in the Farm.
In the Last Paste the feature Id in the Properties of Feature and and deploy the solution.
Note : Attempt this blog when there is no clue of feature and the feature with the solution has lost.