D365 Phone number field - remove icon - dynamics-crm

I cant seem to find a way to delete this little phone Icon.
Im currently trying to remove this Icon via JavaScript but I cannot find a way to remove that Icon. Nothing I found in the formContext is useful. I thought that the control of formContext.getControl("myprefix_businessphone") has the icon in it, too. But the options there are for the field only (as far as I've found).

This is click-to-dial functionality for any phone number field in CRM UCI form. Anything you try from the internet suggestion is going to be unsupported which may break in future release.
Other choices are - you can have a new custom plain text field to store the phone number data instead of phone number format, or develop your own PCF control to render the same existing field without icon.

Related

VSTO Outlook: Add new icon to the Outlook items shown in the explorer email list

On folder selection (Inbox, Deleted, Sent, etc.) the Outlook email items are shown listed in the explorer view as a list of Outlook items.
For each Outlook items, some icons (attach, etc.) are show on the right. How can I add new icons there for each outlook item? I want to do the same as explained here or here, but instead of changing an existing one, I would like to add a new one/s.
Additionally (this is optional) it would be great if I could execute some code when user clicks on it but I am ok if I can just show it.
UPDATE 05/10/2022
There are two posibilities:
Add new columns to the message grid preview in the explorer view, I mean put more columns at the beginning or after the last column (flag one). This view is obtained when you resize the width of the messages grid:
Use the existing last column of the messages grid preview, marked with a flag, and put there more icons with its click event handlers.
Is it possible to implement both above solutions?
There is no trivial way to inject custom icons there. The best what you could do is to use the PR_ICON_INDEX property with a set of predefined icons. The property contains a number that indicates which icon to use when you display a group of email objects.
As explained in the articles mentioned in your post you can use the PropertyAccessor.SetProperty to set up an icon for Outlook items.
Additionally (this is optional) it would be great if I could execute some code when user clicks on it but I am ok if I can just show it.
You can handle the SelectionChange event of the Explorer class which is fired when the user selects a different or additional Microsoft Outlook item programmatically or by interacting with the user interface. The Outlook object model doesn't provide any other events for that.
There is no way to add a new icon next to the old one - the message view in Outlook does not support that level of customization.
The only way to replace a build-in icon with a truly custom one (instead of using one from a few dozen predefined icons) is to create a custom form (even if exposes no customization) and specify an icon for that form. If the message class (MailItem.MessageClass) matches that of a custom form, Outlook will show your custom icon. Not ideal at all.

Teams: XLS File: No longer option for printing selected area of spreadsheet

Not sure what happened, but now when I choose an area of the XLS spreadsheet in Teams/Files, and choose Print, I don't have options on printing only the selected cells. This used to work on both of my computers so I suspect Microsoft Teams updated and the functionality is no longer available. Can anyone confirm this, or maybe something wrong with my configuration?
OK I was confused by the UI changes in the latest Teams -- the very empty screen that shows up and has options on the side. Not sure why the UI changed because it doesn't even show the preview properly anymore either, but I found my "missing" option!

Custom form in Outlook Task is not syncing

My partner and I created a custom task form to be used in Outlook using the developer mode to do that, and we published it to the Organization Forms Library for anyone to open. We're running into issues that I personally can't seem to find on how to resolve:
Custom forms aren't syncing correctly.
When I complete out the custom form, and I assign it to someone else they might be missing details like the dates I picked from the date picker, and text within the text box are gone too. It's very odd that sometimes some would get all the details that an end-user would input but that's like a 1/8 chance. I feel like there's a disconnect where it just won't behave like any other task. Cache mode or no cache mode doesn't matter it seems. When the person assigns it back with changes made on their end, those changes aren't seen on my side. I just have the same original details that I made when I first made it. We're on Exchange Server 2010.
Looks like a custom form was not published correctly to others in the organization. Try to create a new Outlook item on other machines with your custom forms to make sure they were deployed correctly.
Note, message forms default to separate layouts for composing and reading. Many people find their first message form doesn't look right when they receive an item created with it. That's simply because they forgot to click the Edit Read Page button and customize the Read layout!
You may find the Customizing Outlook Message Forms article helpful.

Evaluate a string in wp7/wp8

I am currently doing my first application in the wp8 sdk and have come across a problem.
What I want to do is when the user clicks a hyperlink button, it evaluates a bound textbox (author) and send it as a search string to google.
"http://www.google.com/search?q="
Now I tried using the Eval method that is available in asp.net; but it did not work. I have also tried to find alternatives for it, but not much luck there either.
So my question is. Is there any way to send a search string to google, evaluating a string?
Just to mention, all of this is in windows phone 8 sdk. And is within a datatemplate.
Thanks
Setting the NavigateUri and Target on the HyperlinkButton should navigate to the web site. To construct the NavigateUri to include user input you can add an extra string property alongside your already bound Author property (wherever that lives) and just expose the root "http://www.google.com/search?q=" + Author. Once you have that bound to NavigateUri (and getting property change notifications along with Author) the button should launch with the user entered text included.

Custom controls in Visual Studio Lightswitch

Can someone point me to an article or tutorial on using custom controls in Visual Studio Lightswitch? I'm trying to add a rich text box to a page, linked to a string property. When running the app, sometimes the field will show up, sometimes it won't. If it does show the width of the field is small, about 2 characters, but will expand when text is pasted inside. Saving doesn't work, though.
I'm not even sure about whether or not I'm allowed to use controls like these in a Lightswitch app, even though custom controls are obviously supported. Are the custom controls restricted to a certain type or set?
Thanks in advance for any assistance.
W.
Have a look at the following example, http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/10/LightSwitch-Student-Information-System-Part-3-Custom-Controls.aspx
Also the Training Kit has examples of Custome Controls included.
There is also this tutorial:
Creating A LightSwitch Custom Silverlight Control
http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/2/Creating-A-LightSwitch-Custom-Silverlight-Control.aspx

Resources