SharePoint Belge Konumunun URL’sini değiştirmem gerekti. Fakat sizin de farkında olacağınız gibi Unified Interface ile, belge konumunu Gelişmiş Bul ile açılan formdan değiştiremezsiniz. Salt okunur olarak kodlanmış olduğunu göreceksiniz.
Yalnızca okunabilir belge konumu
Bu nedenle, geçici çözüm olarak, kaydı aşağıdaki URL ile klasik olarak açılmaya zorlamam gerekti.
Dynamics 365 formlarında * ve + dışında kullanıcının bir alan üzerindeki zorunluluğu anlamasını kolaylaştıracak bir özellikten bahsetmek istiyorum.
Şöyle bir senaryonuz olsun; istiyoruz ki kullanıcı ya müşteri numarasını elle atasın ya da bıraksın sistem atasın. Bunu plugin ya da JS ile de yapabilirsiniz ama otomatize bir çözüm olacaktır. Biz burada kullanıcıya seçim şansı sunmak istiyoruz.
İşte bunun için istediğiniz alana addNotification ile uyarı balonunun çıkmasını sağlayabilirsiniz.
var CrmSaturday = CrmSaturday || {};
CrmSaturday.Contact = {
onLoadForm: function (executionContext) {
var formContext = executionContext.getFormContext();
if (Xrm.Page.getAttribute("mwns_customnumber") != null
&& Xrm.Page.getAttribute("mwns_customnumber").getValue() == null) {
var notification =
{
messages: ["Customer Number is empty, would you like to assign one?"]
,
notificationLevel: "RECOMMENDATION"
,
uniqueId: "customnumberempty"
,
actions:
[
{
message: ["Click Apply to change Customer Number value"]
,
actions: [
function () {
Xrm.Page.getControl("mwns_customnumber").setDisabled(false);
Xrm.Page.getControl("mwns_customnumber").setValue("12345");
}
]
}
]
};
Xrm.Page.getControl("mwns_customnumber").addNotification(notification);
formContext.ui.setFormNotification("There is one recoommendation on the form", "INFO", "recommendationInfo");
}
}
}
Field Notifications (Alan Uyarıları) ile kullanıcıya bilgi vermek
Not:
Web istemcisinde addNotification yöntemi, belirttiğiniz iletileri ve iki standart düğmeyi içeren bir bildirim görüntüler: Uygula ve Kapat. Uygula’yı tıklattığınızda tanımladığınız eylem yürütülür; Kapat’ı tıklattığınızda bildirim mesajı kapatılır.
Unified Arayüzde:
Kapat düğmesi yoktur.
Uygula düğmesi yalnızca bildirim düzeyi HATA değil de TAVSİYE olarak ayarlandığında görünür.
Online Management API, Office 365 hesabınızla Ortak Veri Hizmeti (Common Data Services) ortamları oluşturmanıza ve yönetmenize olanak tanıyan bir REST API’dır.
Bu API, normalde Dynamics 365 Yönetim Merkezi ile ilişkilendirilmiş yönetim işlevlerini API üzerinden gerçekleştirmenize olanak tanır.
Admin API’ın bir diğer önemli avantajı, yedekleme ve geri yükleme işlemleriniz üzerinde daha fazla denetime sahip olmanıza ve ALM işlemlerinizi otomatikleştirmenize izin vermesidir.
Servis URL
Servis URL aşağıdaki gibi bir yapıya sahiptir, ama bunu ezberlemenize gerek yok;
Bu tool bir Web API olduğu için herhangi bir kod içerisinden de çağırabilirsiniz. Aşağıdaki kod ile instance’ları alabilrsiniz
HttpRequestMessage myRequest = new HttpRequestMessage(HttpMethod.Get, "/api/v1/instances");
HttpResponseMessage myResponse = await httpClient.SendAsync(myRequest);
if (myResponse.IsSuccessStatusCode) {
var result = myResponse.Content.ReadAsStringAsync().Result;
Console.WriteLine("Your instances retrieved from Office 365 tenant: \n{0}", result);
}
else
{
Console.WriteLine("The request failed with a status of '{0}’”, myResponse.ReasonPhrase);
}
Ayrıca Microsoft bu API için bir de PowerShell arabirimi de sunuyor. Aşağıdaki adresten indireceğiniz paket ile PowerShell esnekliğini kullanarak çözümler üretebilirsiniz.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.