Change Attribute Names at Runtime

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
ALW
Posts: 42
Joined: Thu Jun 25, 2015 1:56 am

Change Attribute Names at Runtime

Post by ALW »

I am looking for a way to allow users to change the attribute names to suit their business acronyms. It is a multi-tenant environment and I would like to allow users to modify field/attribute names.

So, for example, I have the following fields in my Lead BO.

FirstName
LastName
SalesRep
LeadType
Campaign

If one tenant wanted to call the "SalesRep" field "Territory" and the "Campaign" field - "Lead Source" - is there a way to do this in AwareIM?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Change Attribute Names at Runtime

Post by tford »

You can't really change the attribute names, but you can have attributes that in essence serve as labels for attributes.
Tom - V8.8 build 3137 - MySql / PostGres
PointsWell
Posts: 1460
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Change Attribute Names at Runtime

Post by PointsWell »

Could you use internationalisation as a way to change labels client by client?
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: Change Attribute Names at Runtime

Post by softserv »

Users cant change Label name at run time. Using Locale is an option for developer but to change only a couple of labels, we wont prefer to use Locale. Alternate option is, create a logical flag and define a condition in Label Text.
eg
We have an Attribute FirstName and we are changing it to Father Name or Mother Name as shown below:
<<IF LoggedInUsers.Test='label1' Then SHOW SECTION_START>> Father Name <<SECTION_END>>
<<IF LoggedInUsers.Test='label2' Then SHOW SECTION_START>> Mother Name <<SECTION_END>>
Attachments
Capture.PNG
Capture.PNG (150.54 KiB) Viewed 13280 times
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
kklosson
Posts: 1629
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Change Attribute Names at Runtime

Post by kklosson »

You could also have an object that stores the custom labels and display them as HTML, which would have to be placed above the attribute.
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
johntalbott
Posts: 619
Joined: Wed Jun 17, 2015 11:16 pm
Location: Omaha, Nebraska
Contact:

Re: Change Attribute Names at Runtime

Post by johntalbott »

kklosson wrote:You could also have an object that stores the custom labels and display them as HTML, which would have to be placed above the attribute.
+1 on this idea.
VocalDay Solutions - Agility - Predictability - Quality

We specialize in enabling business through the innovative use of technology.

AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
ALW
Posts: 42
Joined: Thu Jun 25, 2015 1:56 am

Re: Change Attribute Names at Runtime

Post by ALW »

Thanks to all - I will look into each of these options.
Post Reply