can we create global static variables that can be used all the applications - Adobe live cycle | Community
Skip to main content
Level 3
April 28, 2025
Question

can we create global static variables that can be used all the applications - Adobe live cycle

  • April 28, 2025
  • 2 replies
  • 611 views

Hi,
I have one variable for ex: Company_Name, That I want to access all the applications that I have designed. If I have application1 to application5 then I want to access the " Company_Name" in all the 5 applications.
Is it possible in adobe live cycle or somewhere through custom process in workbench

2 replies

Imran Khan
Community Advisor
Community Advisor
April 28, 2025

@amreen1 Below are the ways we can achieve same: 

1. Use OSGI configurations to read value for same configuration / variable on different places
2. write variable value under /var/<project_name>/xyz node and access same in your different application.

3. Expose it to 3rd party system and perform read and write operations.

Amreen1Author
Level 3
April 29, 2025

Hi @imran__khan 
I am using aem form on Jee not the OSGI one.
Do you know how to do in workbench to maintain static global variables across the application's

aanchal-sikka
Community Advisor
Community Advisor
May 5, 2025

@amreen1 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Aanchal Sikka
Amreen1Author
Level 3
May 6, 2025

Hi @aanchal-sikka ,
No, I need more information on it. I am still searching for the same.I have not found any solution as of now.