ateet
  • Member for 7 years, 4 months
  • Last seen this week
  • India
How to get all the files inside the folder in list
11 votes

Run this code. I have taken "filename" as a folder - you can replace it with any folder name that you want. ClientContext cxt = new ClientContext("http://win-8c97ll22qqc:100/sites/dev"); List list = ...

View answer
Remove or hide search box from SharePoint Online Modern experience communication HUB
4 votes

Well, this can be achieved by Powershell script. Here you go. Connect-PnPOnline -Url "https://[tenant].sharepoint.com/[site]" -UseWebLogin try{ $web = Get-PnPWeb #0 - Inherit, #1 - AllPages, #2 - ...

View answer
Moving Document set from a Documet library to another with Document-ID
Accepted answer
4 votes

You can move document sets either by using "Manage Content and Structure". Make sure use "Move To" actions in that, don't use copy, it will move document sets to another library without changing its ...

View answer
how to create a dependent value list using javascript validation in sharepoint designer 2013
3 votes

If you neither want to use InfoPath nor Workflow, then you have to use SharePoint web services to fetch corresponding data in Column B for a selected value in dropdown Column B. You can achieve this ...

View answer
SharePoint 2013 Add Read more link in Announcement web part each list items
3 votes

You have to make some correction in your javascript mentioned in first editor. As it work fine in my case. Copy JavaScript in notepad and make below changes Replace double quotes “ and ” with normal ...

View answer
How to disable "View" drop down when viewing item for group
Accepted answer
3 votes

Current view dropdown from ribbon can be hidden through current view created in InfoPath. See this link and follow the steps: http://ovaisashraf.blogspot.in/2011/02/hide-current-view-dropdown-from-...

View answer
Webpart property where I can select an image like a publish image field?
3 votes

This can be definitely possible while using asset dialog provided OOTB in SharePoint. This dialog uses AssetPickers.js file present in _layouts/15 directory of SharePoint server. I found one blog and ...

View answer
Migrating sharepoint farm from one domain to another
2 votes

You have a Single Server farm and would like to migrate SharePoint server to a new domain Old Domain: FABRIKA.CONTOSO.COM New Domain: CONTOSO.COM Step 1: Preparations before migrating ...

View answer
How to get all the files inside the folder in list
1 votes

An example of how to Get Files from a Folder using Ecmascript\Javascript client object model in SharePoint <script type=”text/ecmascript”> function ViewAllFiles() { var context =...

View answer
The password supplied with the username XXX was not correct. Verify that it was entered correctly and try again
1 votes

This usually occur when farm account password is expire and it's password is changed or simply farm account password is changed. In that case, sometimes password stored in SharePoint database is ...

View answer
NewForm Custom validation in SharePoint 2013 Custom list
1 votes

You can use validation settings in list. 1. Go to List Settings>Validation Settings 2. In Formula textbox write `IF([FirstPicker column]<>[SecondPicker column],TRUE,FALSE)` 3. Click OK at ...

View answer
Document Library-Major and Minor Views
1 votes

You can filter the documents in library by Version in view. I mean to say, this can be achieve to somewhat not fully by setting Version field in document library in Filter section like: Version >1.0 ...

View answer
Correct way update web part, which is part of bigger solution
Accepted answer
1 votes

If you a wsp like you mentioned webpart.wsp, then you can deploy it on your production server using SharePoint Management shell. Use powershell if just have to upgrade the solution Update-SPSolution ...

View answer
How to sync user's picture from AD to Sharepoint 2013
Accepted answer
1 votes

Active Directory Import is new synchronization method introduced in SharePoint 2013. It is highly efficient if only import is required even with AD only. And that's true, you will not be able to ...

View answer
User Profile Sync Service Behavior
Accepted answer
1 votes

They will remain in profile db. As you have change sync criteria so next and further synch will happen on that basis with only 20k profiles. rest 80k profile will have no impact on this.

View answer
How to get the list name on a content search webpart displaytemplate
1 votes

Your code already have listId var listID = $getItemValue(ctx, 'ListID'); var listItemID = $getItemValue(ctx, 'ListItemID'); So you can use ecmascript here to get the list title. An alternative ...

View answer
I do not receive document email alerts
1 votes

It can be possible that not working one WFE server may cause problem. So best solution will be to check whether alerts mail are triggered from SharePoint is to check drop folder in smtp server. There ...

View answer
Creating a custom view style in Sharepoint 2013?
1 votes

You can use JavaScript for that, a new property called "JSLink" is introduced in SharePoint 2013 list view webpart properties. Write a JavaScript inserting html on a conditional basis can solve your ...

View answer
How to show/hide columns using info path, based if the login user is inside a SharePoint security group or not
1 votes

Yes, this is possible. You can add Last three field in section (Containers). After adding fields in section, add rules to this section to display only when login user is inside a SharePoint user ...

View answer
Image in sharepoint 2013 rich-text control generate js error
1 votes

Try alert($('#linkMainImgDiv').html()) First check in you page source that even this id exist or not. If exist then try it in your debugger tool of browser. Can you share your markup or any ...

View answer
Suggestions for exporting big dataset to excel from search results
Accepted answer
1 votes

Call REST API getting an count of number of items, then make a call using REST API multiple times. Like in range of 1-500, then 500-1000...this will be in loop and after getting it stored in ...

View answer
Error occurred in deployment step 'Uninstall app for SharePoint': The System Account cannot perform this action
1 votes

By Default, Administrator is System Account itself. For security reason, you neither can install nor uninstall the app as a System Account. So, create a new user and assign that user a dbowner ...

View answer
List Query - How to get attachments link
1 votes

Even you can use SpServices, its gives a easy way to get the attachments from lists on the basis of item ID.

View answer
Hide document library using CSOM
1 votes

You can break the inheritance of these document library and remove their link from quick launch. After breaking its inheritance, remove users from its permission settings who should not access to this ...

View answer
Sharepoint-hosted app on-premise 2013
0 votes

Yes, SharePoint-hosted app can possibly be created in on-premise environment. To trust an app is meant for one time at the time of installation of an app. What type of user is trying to visit your ...

View answer
Opening document library files in popup or new window
0 votes

It can be possible to open files in new window in Internet Explorer itself, have to modify little bit XSLT (as need to add _blank='true') in ListViewWebpart embedded in list view page itself. Yes, ...

View answer
Is it possible to read a sharepoint website using C#
0 votes

I'm not sure what exactly you are looking for in C#, a site or web in sharepoint can be accesses via these codes given below: SPSite site = new SPSite("Site url"); SPWeb web = site.OpenAllWebs(); ...

View answer
Statistic of Sharepoint Pages
0 votes

You can use SharePoint out of the box feature "Popularity and Search Reports". You can found this link Site Collection settings of site. Within Popularity and Search reports, you can export usage and ...

View answer
Cannot drag and drop upload file with custom Master
0 votes

I don't think so by just migrating Custom MasterPage and Css to SP2013 will resolve all your issue related to designing part. As due to heaving change in UI perspective in SP2013, SP2010 CSS and ...

View answer
How to itetrate through files in a document library
0 votes

Your are doing correct but instead of this code ClientOM.FileCollection fcollection = folder.Files; clientContext.Load(folder.Files); clientContext.ExecuteQuery(); Response....

View answer