Sites
2466 TopicsMapping local shares to Share Point online
Hi all. What sounds like i should be simple is turning out to be not. In a domain environment, we naturally have lots of file shares. We want these shares to live on Share Point now, not on local servers. I can copy the data using Share Point Migration Tool, that bit is fine, we can also create Share Point sites for each share, set permissions on those sites no problem. How do we get it so that when a user logs into a domain PC, they automatically get those Share Point document libraries mapped in This PC?13Views0likes0CommentsTag documents with DocumentType field inside different sites
I have this question for our SharePoint sites which we are currently creating. Currently we need to create sites for our departments (10++), will take Commercial & HR as an example :- 1) HR 2) Commercial Now inside the 2 sites we need to have a field named "Document Type" of type managed metadata to tag documents inside the documents libraries that got uploaded inside the 2 sites. Now the issue is that the HR has different options compared to the Commercial site for the Document type field (some options might be the same such as the "Other" option) . so i am planning to follow this approach:- 1) Inside the HR site to create a managed metadata column with internal name = "DocumentType", and link it to this term set named "HR Document Type":- 2) Inside the Commercial site to create a managed metadata column with the same internal name = "DocumentType", and link it to this term set named "Commercial Document Type":- now this will work on paper for tagging documents with different options for each site. but we need to have an advance search page to allow to filter the documents from the 2 sites using the Document Type, for this i will use the PnP Modern Search web part, which depend on the search managed metadata & the search Refinables. So now i got one managed metadata for the DocumentType columns:- and i linked it to a RefillableString as follow:- then i am planning to configure the PnP modern search web part to filter the documents from all the sites based on the above refinable. but i have the following 2 main questions, if anyone can help me in making decision on them:- Question-1) is the approach of having 2 site columns with the same internal name inside the 2 sites, but linked to 2 different term sets, with the intention to be able to filter documents from the 2 sites using the same Refinable, a valid approach? Question-2) now for the Document Type inside the Term Store, we can create 2 separate term sets; "HR Document Type" term set & "Commercial Document Type" term set as shown above , as follow:- OR we can have one parent term set named "Document Type", and under it to create 2 sub terms (HR & Commercial), as follow, and link the site columns to the sub-terms instead of a term set:- so which approach we should use ? 2 term sets? or one term set with 2 sub terms? and why? Can anyone advice on the above 2 questions? Thanks and i really appreciate any help in advance32Views0likes0CommentsAutomatic Version History in SharePoint Online
Hi, I want to turn on Automatic Version History to reduce storage. Has anyone implemented this on existing Large Libraries? What I want to know is, does it use the current meta data and delete versions straight away and free up space quickly? Or will it only start analysing from when you change the setting and i'll have to wait a longer time to reduce versions? Many thanks! Chris104Views0likes2CommentsHide the +Add Column from SharePoint Library view
Does anyone know if there's a way to completely hide the +Add Column button from a Library view? My users have Contribute access (cannot go any lower as they need to work with the library, adding and editing) and I can see if takes away their ability to create new columns - which is great. However, to avoid confusion (and them changing the view and then losing it when navigating away) I really want to just take it away altogether. Is there a way to do this? With JSON on view formatting perhaps?Solved51Views0likes2CommentsMeta data in combination with a template
I make use of page templates per site collection. One for news and another for a new page. We use communication sites in a Hub. For a new project metadata from the Termstore is used. In the sitepage library, of the site in question, I added an extra column with metadata. When I make a newspost with the template of that site collection, the metadata labels are not shown. It’s not a question of time, the labels are still not shown. When I make a new template for this site-collection, the metadata labels can be seen. Is this a bug?288Views0likes1CommentRenaming a site is not renamed completely
When our site owners rename a site, the display name of the site is changed as expected. Here I have created a new site named "SharePoint": I enter the new site, and rename it to "SharePoint rules": The site's display name is changed, as expected: But going back to Active sites in the SharePoint Admin Center, only the Name under Basic Info has been changed. The Site name under Site Info has not been updated, and is still the old name: This affects for example the list of sites on the Startpage, where the old name shows: Is this a bug or by design?78Views0likes3CommentsUnable to cast object Error
Hi Team, I'm facing an issue in a sharepoint list which has a calendar view in it, at the time we edit an item to update some values we got below error: Unable to cast object of type 'Microsoft.SharePoint.SPFieldChoice' to type 'Microsoft.SharePoint.SPFieldNumber'. What would be the issue?, and as per the message it seems to be that one of the columns is causing the issue, but the thing is that it was working fine for long time without any changes to the columns or any action being done in the configurations until 2 days ago we got to see this message. Thanks281Views0likes1CommentOpening View
I would like to have my SharePoint site open up under the "Documents" tab instead of the "Home" tab. I spend a lot of times moving documents and organizing in SharePoint and it's a bit annoying if I forget to pick the document view and forced back to the very start of the SharePoint site.22Views0likes1Commenthow to get files of a specific folder path in sharepoint using /lists graphapi
i was able to get folders of a specific folder path using /drives but in /lists it will return files also not just folders unlike /drives , i already made a python script to retrieve files from documents in sharepoint , but now i need to get files of a specific folder not the whole documents folders here is the graph api url to retrieve folders from a specific path https://graph.microsoft.com/v1.0/sites/siteId/drives/driveId/root:/General/index/images/animals:/children?$top=15 here is my python script to get files and folders using /lists async def fetch_file_details(session, url, headers): async with session.get(url, headers=headers) as response: print(f"headers {response.headers} ") return await response.json() async def get_all_images_in_library(accessToken, siteId, libraryId, batch_size=15): url = f"https://graph.microsoft.com/v1.0/sites/{siteId}/lists/{libraryId}/items?top={batch_size}" headers = { 'Authorization': f'Bearer {accessToken}', 'Accept': 'application/json', 'Prefer': 'HonorNonIndexedQueriesWarningMayFailRandomly' } async with aiohttp.ClientSession() as session: while url: async with session.get(url, headers=headers) as response: if response.status != 200: print(f"Failed to fetch: {response.status}") retry_after = response.headers.get('Retry-After') throttle_limit_percentage = response.headers.get('x-ms-throttle-limit-percentage') throttle_scope = response.headers.get('x-ms-throttle-scope') throttle_reason = response.headers.get('x-ms-throttle-reason') print(f"headers {response.headers} ") if retry_after: print(f"Retry-After: {retry_after} seconds") if throttle_limit_percentage: print(f"Throttle Limit Percentage: {throttle_limit_percentage}%") if throttle_scope: print(f"Throttle Scope: {throttle_scope}") if throttle_reason: print(f"Throttle Reason: {throttle_reason}") break data = await response.json() items = data.get('value', []) if not items: break tasks = [] for item in items: webUrl = item.get('webUrl', '') if webUrl.lower().endswith(('.jpg', '.jpeg', '.png', '.gif')): fileDetailsUrl = f"https://graph.microsoft.com/v1.0/sites/{siteId}/lists/{libraryId}/items/{item['id']}?expand=fields" task = fetch_file_details(session, fileDetailsUrl, headers) tasks.append(task) if tasks: batch_results = await asyncio.gather(*tasks) yield batch_results await asyncio.sleep(0.1) url = data.get('@odata.nextLink') my question is how can i get files and folders from a specific path using /lists ?136Views0likes1Comment