Teams private channels - SPO Site Collection Language & Regional Settings - microsoft-graph-api

Issue
Currently private channel SPO Site Collections are created with the main Language taken from the SPO-RootSite. If you have multiple Languages in your Company this is not the best solution as a User would expect the Language and Regional-Settings to be taken from the main Teams-SPO-SiteCollection from where he created the private channel.
What we Tested:
Trying to solve the issue by creating the site with Template TEAMCHANNEL#0 and RelatedGroupId set by using /_api/SPSiteManager/Create. The site get's created so we could also configure the Folder for the Channel but unfortunately clicking on the "Files" Tab in Teams then just creates a additional sitecollection with a "2" added to the Channelname in Url.
Conclusion & Suggestion:
Unfortunately we found no working solution to have the Private Channel Sites in the expected language with correct regional settings (user recognizes it on displayed dates).
It would be nice if SPO-Site Collections for Private-Channels would
respect the Languagesettings of the Team they belong to.
It would be very nice if we could trigger SPO Site Creation for private Teams
channel in order to configure for example the document library (view
/ Columns)

Related

Can I have multiple Swagger endpoints in a single Web API?

My Web API has four controllers: Login, Users, Products and Sales. There are also three different client applications and each of these just use a single controller. Administrators have an User Administration app, Managers have a Product management App and customers have a "Buy this" app. So, three different Web API's?
Well, no. As all controllers share the same database so we want it all contained in a single project. They also share some functionality in the background and all APIs also need to support the Login controller.
What I want is that my API has three different URLs:
example.com/Users
example.com/Products
example.com/Sales
These should be three different Swagger endpoints, each with the Login controller. I just wonder if this is even possible or if I need three different projects to get this to work.
Well, I had to find this post about multiple Swagger documents but I managed to get it to work.
It starts with the builder.Services.AddSwaggerGet() where you use options.SwaggerDoc() multiple times to create multiple documents.
Then, using app.UseSwaggerUI() you add multiple endpoints for each doc. specifying the related document names from the previous step.
And with each controller you add [ApiExplorerSettings(GroupName = "...")] to link the controller to a specific document. Without it, they end up in all documents...
The result is that I now have a single project that holds multiple Swagger endpoints and thus multiple Web API's.

How to turn off Version History in Google Sheets

I have developed a tool to be used by customers based on Google Sheets. The document contains a number of sheets/tab, half of which are for customer use and the other half protected and only to be accessed by the owner.
The protected tabs contain sensitive information from a central database and shouldn't be viewed by anyone else other than the sheet owner (me).
It seems that protecting these sheets has been working as intended until one customer noticed today that if he clicks the Version History, it displays all changes made and opens all the protected sheets!! This seems like quite a major loophole to the sheet protection feature...
Does anyone know how to turn off Version History so link just right of 'Help' in the task bar doesn't appear at all?
I found this, but that doesn't seem to make any difference. In the 'Turn off view history for one file' instructions, I don't have 'Tools > Activity dashboard privacy' And for the 'Turn off view history for all file' instructions, it doesn't remove the version history links right of 'Help' so customers can still access the history and therefore the protected files.
If someone can advise here, that would be appreciated.
You can NOT.
Not unless you have a work or school account as clarified in your mentioned link
Some Docs features are only available for work or school accounts, and
you’re signed in to a personal account: xxxxxx#gmail.com.
To sign in to your work or school account, click here.
Also further down:
If you don’t see Activity dashboard or the privacy settings:
If the file isn’t owned by a Google Account through work or school, no
one can see the view history. You haven't viewed a shared file owned
by a work or school organization. You may be signed in to the wrong
account. You’re signed in to your personal account: xxxxxx#gmail.com.

Programmatically access Tags in Teams

I am building an application that creates Teams for my training classes and I can Create a Group, make it a team, and then add the required folks to the Members list. I want to be able to differentiate between "students" and "facilitators" for reporting and management.
I have found /api/v1/teams/{0}/memberTags/ but I don't seem to be able to call it directly or find it in the SDK documentation.
Is this API available?
Teams Tags are currently in the Graph beta
https://learn.microsoft.com/en-us/graph/api/resources/teamworktag
Tags provide a flexible way for customers to classify users or groups based on a common attribute within a team. For example, a Nurse or Manager or Designer tag will enable users to reach groups of people in Teams without having to type every single name.
Tags are scoped at the Team level.
When a tag is added, users can #mention it (#tag) in a channel in that team . Everyone who has been assigned that tag will receive a notification just as they would if they were #mentioned individually. Users can also use a tag is to start a new chat with the members of that tag.
No, there’s no API for this now .
Check here to Manage tags in Microsoft Teams app. We will keep you posted once this feature is available through API.

How to use internal links with wildcard items in Sitecore?

I have a multiple site Sitecore solution. All the sites share a product range which is stored inside a 'Shared data' node that sits at the same level as the root nodes of the sites. The individual product pages on a site use a wildcard item to lookup the product based on the last part of the URL.
This means that we can't use internal links in the rich text editor to point to the product page on any of the sites because the product item does not have a specific site URL.
Does anyone know of a way to overcome this, or perhaps know of a way to augment the default behavior of interal links?
Have you considered using cloned items, see here for details.
This would allow you to share the content whilst having the appearance to the end user of the Products being inside the content tree allowing you to use the RTE and internal link look ups?
For extra information about clones, see here and here
You'd also need to do some work in the link provider to link to the cloned version of a product if you wanted. See this question.

Sharepoint 2007 Create a dynamic teamsite that filters the content according to AD groups

I am currently trying to create a site that filter the content based on AD groups divide by company names.
Any suggestions?
I figured it out myself. It was very simple.
Create individual lists for each company
Add the web part of each individual lists to a page
permission them by Target Audiences.

Resources