How to only allow show video and External link fields in Property URL

Vote:
 

Hi,

i am use property Url but i just want to allow to show two options Video and Extarnal link

I try to use UIHINT but it seems to be not work

Can anyone have any solution to do that?

Thanks,

Thao Pham

#202019
Edited, Mar 12, 2019 10:51
Vote:
 

It's not supported for the Url property. So I think you have to create a custom validator to block other content types, but that won't improve the user experience. It will only show an error message after the editor has tried to select invalid content types.

#202022
Mar 12, 2019 10:52
Vote:
 

Don't we have any customized type for External links only? That can provide us full (Absolute) url.

Actually this is a need for meta tags.

#202055
Mar 12, 2019 18:28
Vote:
 

Do you mean external links to CMS pages? It’s fairly straightforward to create absolute URL from page URL and add protocol, domain and, if needed, port. Just create UrlResolver or UrlHelper extension method that can be reused in all your projects. It’s better to leave that logic to the developer in my opinion.

#202056
Mar 12, 2019 19:59
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.