Skip to main content

Posts

Control Property Access with Identity in Aras Innovator

In Aras Innovator, each ItemType links to a table in database. That means the Property links to a column for storing data. If there are access issues for data field, create a Poly Item and Form with particular Identity should be the simplest way to implement. When facing to complicated scenario (maybe various columns and Identity need to be considered together), the future maintenance work might be very difficult. This article provides another thinking to achieve similar result with a little customization. Change Property Access The Property is also an ItemType in system, that means its access can be controlled by system permission. In default, a Relationship will inherits permission from its parent. But in order to control Property access individually, the "Use Src Access" option should be cancelled (see Figure 1). Figure 1 Create Private Permission Open the ItemType which need to create various view (here takes "Part" as example), and follow below s...

Add Locale Options to Login Page of Aras Innovator

Aras Innovator supports multilingual user interface and will automatically determine locale preference by browser's language configuration. But it is not convenient if user want to change locale quickly due to user may not know or do not want to change browser's settings. Allow users determine the locale with login data by themselves should be an alternative way to solve the problem. Follow below steps to implement. Add Inline Code Open "\Innovator\Client\scripts\login.aspx". Move to line 131 and add below code with embedded code block. Dim objLocales As XmlNodeList = ApplicationXML.SelectNodes("/Innovator/Locale-Option[@id and @text]") If objLocales.Count>0 Then Dim objLocale As XmlElement Dim strDefault As String = Request.ServerVariables.Item("HTTP_ACCEPT_LANGUAGE").SubString(0,5) Dim strID As String Dim strText As String Response.Write("<div class=""database"">") Response.Write("...

Email.SetupSmtpMailServerAndSend Method (Aras.Server.Core Namespace)

Email.SetupSmtpMailServerAndSend Method Sends an email message with specified message object. Syntax Email.SetupSmtpMailServerAndSend( msg ) Parameters Name Type Description msg MailMessage Required. A MailMessage object that contains the message to send. See Also Email Class Aras.Server.Core Namespace Aras Innovator Server Framework

Email.SendEmailToIdentityEx Method (Aras.Server.Core Namespace)

Email.SendEmailToIdentityEx Method Sends an email message. Syntax Email.SendEmailToIdentityEx( toIdentity , subject , plainBody , htmlBody , fromUser ) Parameters Name Type Description toIdentity String Required. The Identity name of the recipient. subject String Required. The subject for email message. plainBody String Required. The message body in plain text. This parameter will be useless when "htmlBody" is not empty string. htmlBody String Required. The message body in html text. fromUser String Required. The User login name of the sender. See Also Email Class Aras.Server.Core Namespace Aras Innovator Server Framework

Email.SendEmailToIdentity Method (Aras.Server.Core Namespace)

Email.SendEmailToIdentity Method Sends an email message with plain text. Syntax Email.SendEmailToIdentity( toIdentity , subject , body , fromUser ) Parameters Name Type Description toIdentity String Required. The Identity name of the recipient. subject String Required. The subject for email message. body String Required. The message body. fromUser String Required. The User login name of the sender. See Also Email Class Aras.Server.Core Namespace Aras Innovator Server Framework