AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 03.01.2018, 20:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
powerobjects: Searching Custom Web Resource Content
Источник: https://www.powerobjects.com/2018/01...ource-content/
==============


There are times when we would like to search the content of our web resources to look for specific unsupported code or to just search for specific content.

Typically, this would be done by searching a source code repository and looking for matching files. While this works, sometimes it would be easier and would save time if we could pass in multiple keywords and generate a file that lists all the web resources with those keywords. This is particularly helpful when you have clients upgrading to newer version of Dynamics 365.

How to Search Web Resources


The approach below describes how we can search by using the Dynamics 365 Service. Alternatively, if you have an On-Premises environment you could request your Administrator to run the SQL query and return the results.

1. Let’s define the keywords we want to search and any web resources we want to exclude from the search. This would usually be third party solutions that we have added, etc.





2. We can now use a Query to retrieve the content of web resources from Dynamics 365 by specifying our criteria to only return the web resources we are interested in. Since we cannot directly query the content of the web resource, we would have to query it after we convert it from the base 64 string.





3. Once we have the web resource content mapped to the name of the web resource, we can use the keywords we have defined to start searching. Since a web resource could match on multiple keywords, we get the distinct one in the last step.





4. Now that we have the list of all the web resources, we can output this information to a file easily.



There you go – a quicker way to search for your custom web resource content. Subscribe to our blog today to start receiving more Dynamics 365 tips and tricks in your inbox!

Happy Dynamics 365’ing!



Источник: https://www.powerobjects.com/2018/01...ource-content/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
powerobjects: Dynamics 365 October 2017 Update: Universal Resource Schedule Enhancements Blog bot Dynamics CRM: Blogs 0 14.11.2017 01:16
DAX: Official Dynamics AX 2012 R2 Content (update) - Where is it, and how can you find out about updates? Blog bot DAX Blogs 0 03.12.2012 11:11
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
Мелкомягкий CRM: Панель управления для MS CRM с помощью Reporting Services Blog bot Dynamics CRM: Blogs 1 24.08.2009 14:41
Inside Dynamics AX 4.0: The Web Framework Blog bot DAX Blogs 0 25.10.2007 03:04
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 22:00.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.