Microsoft Teams - Updating the Tab Url - microsoft-teams

I need to update URL of Microsoft team tab at runtime, I have checked in the MSDN blog and it seems that it updates only the description of the tab not the URL using graph API call (https://graph.microsoft.com/v1.0/teams/{groupid}/channels/{channelid}/tabs/{tabid}). Could anyone suggest how to update tab URL as well?
I have tried calling the below graph API, but it updates only the tab name
https://graph.microsoft.com/v1.0/teams/{groupid}/channels/{channelid}/tabs/{tabid}
{
"displayName": "My Contoso Tab - updated",
}
Microsoft teams tab URL should be updated.

The web URL(deep link) part you are trying to update, It is an system generated
value which can't be changed.

Related

CRM 2013 Onprem: logged in users accessed area in CRM

We want to check what areas are used by user when they login to CRM. I have tried the recentlyvieweditems.
Is there any other way we can achieve this.
I do not think there is any solution or way to find out what area are clicked unless you login as that user and check what that user clicked.
The closest you can reach to get some insight for users and which entites they are accessing.
Organization insight solution
You have to capture those user telemetry data like - pages navigated, opened entity records, clicked ribbon buttons, etc using Application Insights or your own Database through your own API for all the breadcrumbs.
There is no other native solution other than Org Insights, that too available from 2016 onwards IIRC. Later they took different diversions during CRM online version upgrades.
You may try the EnableRule of application level command bar button to run your custom JS code to log user navigation. I haven't used it ever, but this is what I would try in your given scenario and I don't see any reason if it wouldn't work.
Create new custom entity/table with User ID/Name and URL attributes/columns
Create a application level command bar button
How do I add a global button (for all entities) on the CRM 2013 Command Bar
In button's enable rule, Add user id/name and document.location.href values as a new record to the custom table.
Create entity record through Javascript , CRM 2013 , SDK.Rest.CreateRecord
Don't forget to return false from the code in 'enable rule' so that the button should not actually be shown anywhere in the application.

MS Teams Personal tabs are not displaying/rendering in the desktop version

The configured Personal tabs are displaying successfully in Teams web app/via browser. But not rendering in the desktop version. The tabs url changed in the below format to overcome this issue but not sure why this is replicating.
Tab url format: https:///_layouts/15/teamslogon.aspx?spfx=true&dest=/SitePages/Get-started-with-Microsoft-365.aspx
This issue has been resolved after configuring the "Page URL" and "Content URL" in below format:
For page URL:
https://yourtenantname.sharepoint.com/sites/CorporatePortal/SitePages/Home.aspx
Content URL must be:
https://yourtenantname.sharepoint.com/_layouts/15/teamslogon.aspx?spfx=true&dest=/SitePages/Home.aspx

CRM 2011 - New Appointment from Case defaults Required Attendees to Account

When I create a new appointment from the context of a saved incident it defaults the "Required Attendees" field to the incident's account. I want it to default to blank or the current user. (To create the appointment I used the navigation pane on the incident to view related activities then use the ribbon button add new activity.)
Where can I control that behaviour?
I tried looking at the entity mappings but it appears there isn't a "mappable" relationship for the "RequiredAttendees" field. (I checked as per the instructions here: http://rc.crm.dynamics.com/rc/2011/en-us/on-prem/5.0/help/ui_cust_Mapping.htm) Have I missed something or is this a hardcoded CRM-ism?
Going forward do I have any options to modify this? I suppose I could do javascript on form load but I'd prefer this be configurable inside CRM without touching javascript.
I think that best solution is to use onLoad javascript. Just check that Appointment is created from Incident form. (In Url - Type=112)
You can rewrite ribbon button on Incident form to open new window with URL
http://myCRM/myOrg/main.aspx?etc=4201&extraqs=%3fcontactInfo%3d%26etc%3d4201%26pId%3d%257bB8C55089-26D7-E111-93D4-005056986118%257d%26pName%3dCaseName%26pType%3d112%26pagemode%3diframe%26preloadcache%3d1346939630259&pagetype=entityrecord
So just exclude:
partyaddressused%3d%26
partyid%3d%257bA9D02C74-26D7-E111-93D4-05056986118%257d%26partyname%3dAdministrator%2540crm.local%26
partytype%3d2%26
This part of url contains data related to activity party ('required' field).

Open a existing Account record in parent page in MS CRM 2011

How to open a existing Account record in parent page itself instead of opens in a new popup window.
Pls.
The CRM SDK shows you how to get the URL of a record, given the record ID.
Using JScript, you can set the current page location via window.location (see here) thusly:
window.location = myNewUrl;

Javascript error on sharepoint page with search webpart and User Control containing UpdatePanel

I've been trying to find a cause for this error for some time to no avail...
We have a SharePoint 2007 site heavily customized in terms of look and feel.
In the master page a user control has been inserted that uses an update panel to partially render updates in the control.
The User control seems to work fine on all pages unless a search web part is inserted into the page.
The control has a DropDownList that according to user choice hides or shows different panels.
There are also buttons that cause async postbacks within each of the panels.
When a "Search Core Results" webpart is inserted into a page, all async requests cause a javascript error and no updates occur in the update panel.
The javascipt error is:
Sys.WebForms.PageRequestManagerServerErrorException:
Object reference not set to an
instance of an object.
The problem is I can't even figure out what this object is. It seems to be the ScriptManager (although its there in the master page).
Is there a way to get a detailed description of this error?
Also, are there are any known conflicts or issues with update panels and SharePoint search web parts?
I'm relatively new to SharePoint development and am still trying to find my way around customizing and debugging.
Update:
I used fiddler to examine the requests and responses.
In the request, the only difference I see is that without the search webpart it contains an NTLM authorization header, while the request on the page with the webpart has no authorization header.
In the response, the page that works has a private cache-control with some cookies set (i guess for authentication), while the other no-cache nor cookies set. Also, the response text contains the updated control when it works, while the other page returns this:
53|error|500|Object reference not set to an instance of an object.|
Could authorization be the issue here?
you are used visible property for hide DropDownList control or not
If not then please used visible property for

Resources