AdoptOS

Assistance with Open Source adoption

Liferay
Syndicate content
Liferay.com
Updated: 7 hours 18 min ago

How to configure Liferay Developer Studio 2.2.x with Java 7 and LDS 3.x with Java 8 for Mac OS 10.13 (High Sierra)

11 hours 9 min ago
Scenario
  • You are hosting Liferay Developer Studio with Mac OS 10.13 (High Sierra)
  • You want to use Liferay Developer Studio 2.2.x with Java 7 and Liferay Developer Studio 3.x with Java 8
  • LDS 2.2.x requires Java 1.7 (7)
  • LDS 3.x requires Java 1.8 (8)
  • You have Java 1.7 (7) and 1.8 (8) installed on your Mac
  • NOTE: This scenario is also applicable to Mac OS 10.12 (Sierra).

Solution Outline
  • Configure LDS 2.2.x to use Java 7
  • Do not configure LDS 3.x as it will default to using Java 8

Configuration
LDS 2.2.x Configuration
1.1/ Locate LDS 2.2.x app using Mac OS Finder


e.g. /Applications/Liferay-Developer-Studio/Liferay-Developer-Studio-2.2.2-GA3/DeveloperStudio.app


1.2/ Show package contents

iRight click on file "DeveloperStudio.app" and select menu item "Show package contents"

e.g.


/Applications/Liferay-Developer-Studio/Liferay-Developer-Studio-2.2.2-GA3/DeveloperStudio.app/Contents/MacOS


1.3/ Update LDS 2.2 app launch configuration with path to Java 1.7


Edit Developer Studio configuration file and insert "-vm" parameter with path to Java 1.7 home folder.

e.g.

FILE: /Applications/Liferay-Developer-Studio/Liferay-Developer-Studio-2.2.2-GA3/DeveloperStudio.app/Contents/MacOS/DeveloperStudio.ini

... -vm /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home ...

2/ Mac OS High Sierra Java Configuration (optional)


This configuration is only required if you plan to use the Liferay SDK from the command line (aka. console/terminal).

There are many articles on this topic.

Some approaches, using the java_home tool, are outlined in the following stack overflow article:

* stack overflow - how to switch java version on Mac OS 10.8.4
** https://stackoverflow.com/questions/18069809/how-to-switch-java-version-on-mac-os-10-8-4/18069913

To identify all Java runtime folders on your Mac, you can use the usr/libexec/java_home tool to identify all registered Java runtime environments

e.g
 

$ /usr/libexec/java_home --verbose Matching Java Virtual Machines (16): 1.8.0_171, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home 1.8.0_161, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home 1.8.0_121, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home 1.8.0_111, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home 1.8.0_45, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home 1.8.0_25, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home 1.8.0_05, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home 1.7.0_79, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home 1.7.0_71, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home 1.7.0_55, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home 1.7.0_51, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home 1.7.0_21, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home 1.6.0_51-b11-457, x86_64: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_51-b11-457.jdk/Contents/Home 1.6.0_51-b11-457, i386: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_51-b11-457.jdk/Contents/Home 1.6.0_35-b10-428, x86_64: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home 1.6.0_35-b10-428, i386: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home

 



References


* Eclipse Wiki - eclipse.ini
** https://wiki.eclipse.org/Eclipse.ini

* stack overflow - how to switch java version on Mac OS 10.8.4
** https://stackoverflow.com/questions/18069809/how-to-switch-java-version-on-mac-os-10-8-4/18069913

 

 

Tim Telcik 2018-05-24T16:09:34Z
Categories: CMS, ECM

New Liferay IntelliJ Plugin Released

Tue, 05/22/2018 - 22:45

Hello all,


Today we are pleased to announce the official release of Liferay IntelliJ Plugin. Liferay IntelliJ Plugin is a plugin for Jetbrains IntelliJ to support developing Liferay components.


For customers, they can download Liferay IntelliJ Plugin here. You may refer to the following installation steps:

  • Click on Configure > Plugins > Install plugin from disk...
  • Point to the downloaded zip file > Click on OK button > Restart

The key features for this release are:

 

  • Creating Liferay Workspaces (maven and gradle based)
  • Creating Liferay Modules (maven and gradle based)
  • Liferay Tomcat Server support for deployment, debugging,
  • Add line markers for each entity in service editor
  • Editing support for bnd.bnd files and XML
    • Support for syntax checking, highlighting and hyperlink
    • Support for auto code completion

 

Special Thanks

Thanks so much to Dominik Marks on code completion features.

 

Liferay Workspace Support
 

To create a Liferay workspace, click File > New > Project... > Select Liferay and choose your liferay workspace type.

 

Installing a Liferay Server

Liferay server is located in bundles folder under your liferay workspace. And it's defined in gradle.properties file.

 

Creating a Liferay Module and Deploy

Creating liferay modules requires an existing liferay workspace. Once you have created a new module project, select Liferay > Deploy.

 

Add line markers for each entity in service editor

 

Editing bnd.bnd and XML files(highlighting and code completions in Editor)

Here are some captured screenshots about syntax highlighting, code completion and hyperlink.




 

Feedback

If you run into any issues or have any suggestions please come find us on our community forums or report them on JIRA (IDE project), we are always around to try to help you out. Good luck!

Yanan Yuan 2018-05-23T03:45:16Z
Categories: CMS, ECM

Liferay Portal 7.0 CE GA7 Release

Tue, 05/22/2018 - 14:11

I'm pleased to announce the immediate availability of: Liferay Portal 7.0 CE GA7!


  Download Now! What’s New

ElasticSearch 6.0 - Liferay Portal 7.0 CE GA7 now adds support for ElasticSearch 6.x.  Download the Liferay CE Connector to Elasticsearch 6 from Marketplace.

Liferay Faces Fixes - The following fixes for Liferay Faces are included:

Bug Fixes - A complete list can be found here.

Release Nomenclature

Following Liferay's version scheme established in 2010, this release is Liferay Portal 7.0 CE GA7.  The internal version number is 7.0.6 (i.e. the seventh release of 7.0).  See below for upgrade instructions from 6.1, 6.0, and 5.x.

Downloads

You can find the 7.0 release on the usual downloads page. 

Source Code

As Liferay is an open source project, many of you will want to get at its guts. The source is available as a zip archive on the downloads page, or on its home on GitHub. Many community contributions went into this release, and hopefully many more in future releases! If you're interested in contributing, take a look at our updated contribution guide.

Compatibility Matrix

Liferay Portal 7.0 CE GA7 is testedextensively against different Open Source App Server/Database server combinations.

Application Servers:
  • Apache Tomcat 8.0 with Java 8
  • Wildfly 10.0 with Java 8
Database Servers:
  • HSQLDB 2 (only for demonstration, development, and testing)
  • MySQL 5.6
  • MariaDB 10
  • PostgreSQL 9.4
Search:
  • ElasticSearch 2.4.x
Documentation

The Liferay Documentation Team has been hard at work updating all of the documentation for the new release.  This includes updated (and vastly improved/enlarged) javadoc and related reference documentation, and and updated installation and development documentation can be found on the Liferay Developer Network. Our community has been instrumental in identifying the areas of improvement, and we are constantly updating the documentation to fill in any gaps.

Bug Reporting

If you believe you have encountered a bug in the new release you can report your issue on issues.liferay.com, selecting the "7.0.0 CE 7" release as the value for the "Affects Version/s" field.

Upgrading

The upgrade experience for Liferay 7 has been completely revamped.  There are some caveats though, so be sure to check out the Upgrade Guide on the Liferay Developer Network for more details on upgrading to 7.0.

Getting Support

Support for Liferay Portal 7.0 CE GA7 is provided by our awesome community.  Please visit our  community website for more details on how you can receive support.

Liferay and its worldwide partner network also provides services, support, training, and consulting around its flagship enterprise offering, Liferay DXP.

Also note that customers on existing releases such as 6.1 and 6.2 continue to be professionally supported, and the documentation, source, and other ancillary data about these releases will remain in place.

Kudos

Thanks to everyone in our community! It is thanks to your constant support that makes each release as great as they are!

Jamie Sammons 2018-05-22T19:11:29Z
Categories: CMS, ECM

LSNA 2018 Platinum Sponsor Interview: Alaaeldin El-Nattar, Rivet Logic

Mon, 05/21/2018 - 12:22

In this Liferay Symposium North America interview series, we put a spotlight on our event sponsors and the ways in which they are driving digital transformation today. These interviews help put a face to the modern innovations happening at the companies in focus and give a glimpse into their latest innovations.

Alaaeldin El-Nattar is the Chief Operating Officer at Rivet Logic, helping to ensure that the organization consistently provides high-quality services. With more than 18 years of experience in enterprise IT software design and development, Alaaeldin has helped lead the architecture, implementation and deployment of many different client projects at Rivet. Today, Rivet is providing award-winning consulting, design and systems integration services that build modern digital experiences needed by companies across industries.

Liferay: What is your current position with Rivet? Can you share a brief overview of what it is you do in your work with the company?

Alaaeldin El-Nattar: I am Rivet Logic’s COO. I oversee all of the company’s practices to ensure that our clients are receiving the highest level of professional services. I also run our Managed Services operations.

L: What would you say most motivates you and what do you wish to accomplish through your position?

AE: As a company, we are committed to helping organizations excel through our thought leadership and digital experience solutions. We pride ourselves on the quality of work we provide, so it’s extremely rewarding when we see our solutions delivering real business value and making a positive impact.

We’ve also worked with Liferay since the very beginning. To see Liferay come this far and to be part of that journey every step of the way as a Platinum Partner has been a very fulfilling experience. We’ve seen Liferay evolve as a platform, and it’s exciting to see where the future roadmap leads, as well as the types of innovative solutions we can build for customers using Liferay.

L: This year at LSNA, we are focused on the next step of digital innovation. Digital transformation and the continuing advent of new technology is changing businesses around the world. What do you think companies need to do in order to successfully innovate in their technological strategy?

AE: The number of technology platforms available is increasing every day, each addressing different business challenges in its own way. There is no one size fits all solution. The key is to select modern technologies that are agile, with the ability to integrate with various other digital technologies so they work well together. Then, as a whole, businesses can address their unique challenges in the most effective and optimized way possible.

It’s also important to have some sort of feedback loop. Data is all around us, and the ability collect the right data and extract valuable insights to make continuous improvements is paramount.

But technology is only one part of the equation. Going beyond technology, a business’s overall digital strategy should be driven by the customer, not IT. It’s the right combination of people, process and technology that makes digital transformation successful.

L: As IT and business strategies continue to evolve, how do you predict everyday business will change in the coming years?

AE: The pace of change keeps increasing - businesses either need to keep up and adapt or risk failure. For this rapid change to happen, organizations need to create an environment that engages employees and fosters innovation.

Employees today demand the same type of experience in their workplace as consumers do. They want to be empowered - with easy access to content and data, user-friendly tools to perform their job, tools that facilitate collaboration and the ability to find and engage with other employees across the organization.

And with the workforce becoming more mobile and global, we’re going to see more and more businesses implement a digital workplace. We believe a modern intranet is an essential part of a digital workplace, providing a gateway for employees to access anything company related, while providing an environment that cultivates knowledge sharing and community.

L: Along with changing businesses, today’s customers have new standards regarding their online experiences with companies. How do you see organizations needing to change and adapt to new customer demands in order to stay successful?

AE: Over the past few years, user experience and customer journeys have become key. But many companies have not yet moved over to a unified digital experience. We believe Digital Experience Platforms (DXP) will continue to gain momentum as businesses work toward developing their strategies for omnichannel engagement.

Many businesses are collecting customer data to some extent. However, those who can harness their data to find meaning and in turn make data-driven decisions for better personalization will gain a competitive advantage. But it’s also important to keep in mind that it’s not about data quantity but quality, as well as the ability to make better use of the data you already have and fine-tuning data collection and analysis methods.

Lastly, businesses are going to need to pivot faster and adopt agile product and service development. In order to adjust their customer experience, companies will also need to adjust their products and services in a rapid-fire way. Rather than a traditional, iterative production work-cycle, companies will need to balance a lot of moving parts, constantly testing, improving and optimizing their solutions.

L: What is your favorite thing about Liferay Symposium North America? What should a first-time attendee make sure not to miss?

AE: Whether you’re a developer or business user, Liferay Symposium is a great way for attendees to learn and be inspired through the large variety of sessions offered across multiple tracks. It’s also a great way to connect with the rest of the Liferay community and hear how others are using Liferay to solve unique business challenges in their organizations.

The official after-party is a can’t miss event for first time LSNA attendees, or any attendee for that matter.

L: Besides being a platinum sponsor at LSNA, what else are you up to? What else might our readers be interested in that is happening at Rivet?

AE: Besides LSNA, we’ve been busy developing solutions in areas where we see a gap and that our customers can benefit from using. A few examples are Liferay and Box integration, Wealth Management Portal and Product Development Portal, to name a few.

Join Us at Liferay Symposium North America 2018

Liferay Symposium will take place from October 8-10 this year in New Orleans, LA, and registration is now open. Click the link below and register for three days of insights and support in your digital transformation.

Register for LSNA 2018 Today   Matthew Draper 2018-05-21T17:22:54Z
Categories: CMS, ECM

Understanding the Elements of Digital Experience Platforms

Mon, 05/21/2018 - 11:45

Digital Experience Platforms (DXPs) are becoming a major part of many companies’ digital transformation strategies. This software helps companies integrate, support and update their many different systems in order to make the most of their online presence, while creating new solutions to support many audiences, such as customers and employees, on a single platform.

However, due to the relatively new nature of the term and the types of applications that fall under its umbrella, it is common for companies to wonder, what is a DXP? Through modern market needs and a wide variety of vendors responding to such demands, a consistent DXP definition is beginning to take shape today.

In order to make informed choices regarding the future of their technology selection, businesses across all industries should better understand the nature of a Digital Experience Platform. By understanding the common elements of a DXP and how they work together to form a platform, a company can be equipped to make the right decision for their unique needs. According to Gartner, DXPs combine and coordinate applications as a set of rationalized, integrated services that fall into three categories:

1. Audience Experience

A DXP must be able to provide customers, partners and employees with the ability to interact with various capabilities. Whether this is from target audiences navigating through sites, portals and applications on the front-end or employees parsing through information on the back end, providing a comprehensive but easy to use experience is crucial for a DXP. Elements of these audience experiences include:

  • Content Interaction: Audiences who use solutions built on a DXP should have personalized access to important information, services and applications, as well as the potential ability to rate and share the content they have discovered.
  • Search, Navigation and Discovery: Digital experiences built on a DXP should allow audiences to discover the information and services they need thanks to the use of dynamic navigation and search functions that leverage multiple search engines and results based on personalization.
  • Collaboration: DXPs should strengthen internal company communication by aggregating important employee information and allowing for collaboration on documents, calendars, projects and more for better knowledge management.
  • End-User Customization: Audiences using a DXP should be able to manage and personalize their own experiences to some degree. Depending on company regulations, this can include notifications, saved searches, subscriptions, dashboard and website layouts and more.

Together, these elements allow an organization the ability to uniquely tailor all aspects of the digital experience for individual audience members and empower workforces by helping them quickly find the information they need.

2. DXP Management

A DXP enables a business to administer, create and improve many different aspects of their digital experience. By providing greater control over the many elements that make up a company’s online presence, as well as how these many pieces work together, a business can fine-tune customer experiences and adapt to the changing needs of both target audiences and employees. Elements of DXP management include:

  • Content Management: Web content management capabilities allow users to create, organize and publish different types of content for websites, mobile applications, portals and more online solutions so that a company can effectively control content and assets.
  • Integration and Aggregation: Administrators can aggregate various applications and integrate software with third-party systems for robust services that better leverage the data created by users and collected by the business.
  • Personalization: Adapt online content in websites, portals and more to suit an individual user’s past behavior and preferences, which can be found through analyzing the audience member’s shared data.
  • Analytics and Optimization: Integration of third-party analytics data or creation of analytics solutions within the platform help monitor performance and can be used to improve assets for more effective digital experiences.
  • Security Administration: System security is a crucial element of modern digital business that can be supported by DXP tools including identity management, single sign-on, document access management and more user rights control.
  • Workflow/Business Process Management: A DXP can support the workflow of content approval and publishing, as well as workflows for forms and other business processes for greater control over daily work.
  • User Experience: Business users can control webpage layout and content in order to control the elements that comprise customer journeys, for better targeting within marketing efforts.
  • Digital Commerce: Commerce software can be integrated with or built on a DXP so businesses can manage transactions, shipping orders, shopping baskets and more, should online selling be part of their business strategy.

Because a DXP is composed of so many different elements, this level of control means that users will be able to effectively manage them all, both as individual pieces and as part of an integrated whole.

3. Platform/Architecture

There is a technical foundation of every DXP upon which the many applications that compose it are built. By building new tools with a DXP, as well as connecting pre-existing applications through the platform, a business can have greater control over customer and employee data, as well as how smoothly a user can shift from one tool to another for a more seamless experience. The architecture of a digital experience platform includes:

  • Presentation: DXPs support UI technologies that deliver rich experiences, including page framework, containers, component models and widgets or a similar construct. These elements, along with responsive web design and progressive web application development, help DXP users craft a digital presence that unique suits their company.
  • Customer/User Data Management: DXPs can incorporate a user profile as a single trusted view of the "customer" or individual user, which collects, unifies and synchronizes customer data from digital and analog channels to improve customer experiences.
  • Cloud Enablement: Support deployment via third-party infrastructure-as-a-service providers, allowing DXP services to run in a cloud-based environment at a platform level with multitenancy.
  • Mobility: Develop mobile applications, including notification support, offline support, mobile software development kit (SDK), voice interaction and more through a mobile application development platform.
  • Globalization/Localization/Multilanguage Support: A DXP can support multiple character sets, translation and localization, which can be automatically applied to the correct users by applying user data and history in order to shape preferences.

Together, these features allow an organization control over how their systems are interconnected and the ways in which information is shared, improving user insights and creating frictionless audience experiences.

Supporting Your Business with a Digital Experience Platform

The ability of a digital experience platform to support a wide variety of needs means it can be leveraged by companies across all industries to meet various goals. In the age of digital transformation, companies will require a system that is equally focused on and able to manage both front-end user experiences and back-end systems, as discussed by ORM London. A strong DXP will give organizations the ability to not only strengthen both sides, but use the data and capabilities of both front- and back-end systems to improve the other.

Learn More About What a DXP Can Do for You

Understanding the elements of a DXP can help you embrace digital transformation in meaningful ways for your organization. Learn more about how a platform can support your company in our whitepaper.

Read “Digital Experience Platforms: Designed for Digital Transformation”   Matthew Draper 2018-05-21T16:45:20Z
Categories: CMS, ECM

Liferay Mobile Strategy - ALL the details you need!

Sat, 05/19/2018 - 09:28

You want to know more about Liferay Mobile strategies? Check my new video series about Liferay Mobile. Let me know if you have any question.

Video 1 https://youtu.be/R48gQ6bnQpo

Video 2 https://youtu.be/lAT_XjEx8Do

Video 3 - Part 1 https://youtu.be/NOLtn4Y3W9E

Video 3 - Part 2 https://youtu.be/UsDTSF2aMPw

Video 4 https://youtu.be/H0ObNpXRAHU

Video 5 https://youtu.be/VIeyeAz2CXQ

Video 6 https://youtu.be/7bOlD4Xj2E8

 

For the script of the demos in those videos, you can download it from here: https://drive.google.com/drive/folders/12WsD0at0qPXdNFcnNudy6oIdGWwBnMu3

 

Fady Hakim 2018-05-19T14:28:24Z
Categories: CMS, ECM

Liferay Portal 7.1 Beta 1 Release

Fri, 05/18/2018 - 16:21
I'm pleased to announce the immediate availability of: Liferay Portal 7.1 Beta 1
 
  Download Now: New in Beta 1 Modern Site Building - Display Pages: Users can now map Basic Web Content articles to editable fields in fragments by creating a Display Page. Users can then select this display page when creating web content articles. Hitting the friendlyURL of the article will render the article on a page using the selected display page.   Fixed in Beta 1

New Features Summary

Modern Site Building: Liferay 7.1 introduces a new way of adding content.  Fragments allows a content author to create content in small reusable pieces.  Fragments can be edited in real time or can be exported and managed with the tooling of your choice.  Use page templates from within a site and have complete control over the layout of your content pages.  Navigation menus now give you complete control over site navigation.  Create site navigation in new and interesting ways and have full control over the navigations visual presentation.        Forms Experience: Liferay 7.1 includes a completely revamped forms experience.  Forms can now have complex grid layouts, numeric fields and file uploads. They now include new personalization rules that let you customize the default behavior of the form.  Using the new Element Sets, form creators can now create groups of reusable components.  Forms fields can now be translated into any language using any Liferay locale and can also be easily duplicated. 
    Redesigned System Settings: System Settings has received a complete overhaul.  Configurations have been logically grouped together making it easier than every before to find what's configurable.  Several options that were located on Server Administration have also been moved to System Settings.     User Administration: User account from has been completely redesigned.  Each form section can now be saved independently of each other minimizing the chance of losing changes.  The new ScreensNavigationEntry let's developers add any form they want to user administration.     Improvements to Blogs and Forums:  Blog readers a can now un-subscribe to notifications via email. Friendly URLs used to be generated based on the entries title. Authors now have complete control over the friendly URL of the entry.   Estimated reading time can be enabled in System Settings and will be calculated based on time taken to write an entry.     Blogs also have a new cards ADT that can be selected from the application configuration.  Videos can now be added inline while writing a new entry from popular services such as: Youtube, Vimeo, Facebook Video, and Twitch.  Message boards users can now attach as many files as they want by dragging and dropping them in a post.  Message boards also has had many visual updates.     Workflow Improvements: Workflow has received a complete UI overhaul.  All workflow configuration is now consolidated under one area in the Control Panel.  Workflow definitions are now versioned and previous versions can now be restored.  Workflow definitions can now be saved in draft form and published live when they are ready.     Infrastructure: Many improvements have been incorporated at the core platform level, including ElasticSearch 6.0 and the inclusion of Tomcat 9.0.  At the time of this release  JDK 8 is still the only supported JDK.  
Documentation Documentation for Liferay 7.1 is well underway.  Many sections have already been completed in the Deployment and Development Sections.  For information on upgrading to 7.1 see the Upgrade Guide. Jamie Sammons 2018-05-18T21:21:31Z
Categories: CMS, ECM

web-portal-design

Tue, 05/15/2018 - 15:04
O Design de Portais Web Está Evoluindo

O design de portais web já percorreu um longo caminho desde os tempos de gateways estáticos (como AOL ou Yahoo). A experiência front-end de portais pode ser customizada e refinada, mas o que realmente destaca os portais é sua infraestrutura. Um portal moderno e bem projetado pode conectar centenas de sistemas legados diferentes e transformá-los em uma única solução de negócios simplificada que se adapta à sua empresa.

Esses cinco elementos fundamentais de design de portais web abordam algumas das principais razões pelas quais as empresas decidem criar portais, como permitir uma colaboração mais unificada ou a integração de sistemas. Ao incorporar estes principais componentes, você pode encontrar ganhos imediatos em seu projeto de portal e garantir que você esteja usando a tecnologia da melhor maneira possível.

#1 SSO para Múltiplos Sites

Durante a transição do físico para o digital, diversas soluções de apenas um ponto de contado surgiram nas empresas. Varejistas online, por exemplo, ainda fazem você entrar em um site para ver seus pedidos e outro para revisar seus pontos de recompensa. Ou uma  empresa pode solicitar que seus funcionários realizem login em um site para registrar seu quadro de horários e outro para solicitar reembolsos.

Portais podem conectar múltiplos sites com Single Sign On, removendo a inconveniência de logar em diferentes sites várias vezes. Portais modernos também devem ser configurados com OAuth nativo, que permite aos usuários realizarem login em seu portal através de Facebook, Google ou outra plataforma social.

Utilização na prática:

-     A Hawlett Packard tem um portal global para parceiros que atende mais de 650.000 usuários em 174 países. Cada país costumava ter seu próprio site, mas ao aproveitar a funcionalidade de SSO de uma plataforma de portal, eles conseguiram ter uma URL única e global para enviar para seus parceiros, que precisavam realizar apenas 1 login para acessar tudo que precisavam. O tempo economizado ao manter apenas um site deve ser mais do que suficiente para mostrar a utilidade deste elemento, especialmente para empresas que contam com um histórico de múltiplos sites.

#2 Localização e Distribuição da Comunicação

With the increasing amount of global offices and customer bases, companies need to have a way to manage the translation, localization and distribution of their content. The best portals have sufficient WCM capabilities to create multiple localizations of the same page, allowing administrators to focus on crafting and publishing their communications.

Com a crescente quantidade de escritórios globais e da base de clientes, as empresas precisam ter uma maneira de gerenciar a tradução, personalização e distribuição do seu conteúdo. Os melhores portais contem com funcionalidades WCM suficientes para criar múltiplas localizações da mesma página, permitindo que os administradores de página foquem na elaboração e publicação das suas comunicações.

Utilização na prática:

-     A Domino’s tem uma intranet com sites de suas lojas, franquias e escritórios. O time de comunicação interna envia alertas diferentes e novidades para cada audiência, e como todos os três sites estão no mesmo portal, a equipe pode gerenciar tudo em um só lugar. Isto economiza um tempo valioso que iria ser gasto entre os diferentes sites, buscando documentos e recriando conteúdo em diferentes repositórios. No front end, os usuários apenas veem o conteúdo que é relevante e personalizado para eles.

#3 Componentes Reutilizáveis

Portals should be quick to build across web and mobile. This can mean duplicating standard functionality across multiple sites, such as when an organization needs to create department sites for each of its teams. It can also mean reusing web components when building mobile applications. For organizations that manage a suite of mobile apps, ensuring that your portal enables this reusability from the beginning will put you in a position to innovate faster later.

Portais podem ser construídos rapidamente para a web e móvel. Isto pode ser feito através da duplicação de funcionalidades padrão em diversos sites, quando uma empresa precisa criar sites de departamento para cada time, por exemplo. Também pode significar a reutilização de componentes web ao desenvolver aplicativos móveis. Para empresas que gerenciam uma pacote de aplicativos móveis, assegurar que seu portal permita a reutilização desde o começo pode levar a uma maior inovação.

Utilização na prática:

-     Telx contava com uma necessidade muito específica para seus clientes com um aplicativo móvel nativo que pudesse gerenciar o acesso ao seu data center. Como esta funcionalidade já tinha sido desenvolvida em seu portal, a empresa conseguiu implementar em seu aplicativo móvel sem precisar reescrever nenhum código. Esta habilidade de reutilizar componentes chave através de todos os seus pontos de contato digitais é de extremo valor, e mantém sua experiência consistente com pouco esforço adicional.

#4 Gerenciamento de Workflow

Além do gerenciamento de documento baseado na função de cada usuário, portais permitem que usuários finais sem conhecimento técnico transfiram seus workflows usuais para uma plataforma de colaboração. Workflows avançados podem ser configurados de acordo com a função de cada um, de maneira que os usuários possam enviar suas atividades para seu supervisores. Isto se torna especialmente importantes quando funcionários estão lidando com informações confidenciais de seus clientes e precisam ter certeza que elas não serão perdidas.

Utilização na prática:

-     A Advanced Energy tinha vários estágios de comunicações de pedidos de compra para gerenciar. Ao mover este processo para uma plataforma de portal centralizadora, a organização parou de passar informações por fax, email e telefone. Ao invés disso, a utilização de funções e workflows automatizados, permitiu que seu time tivesse a certeza que as informações estão sendo enviadas diretamente para a pessoa correta, sem nenhum risco de perder o registro delas.

#5 Colaboração

Contar com funcionalidades de colaboração promove o engajamento na maioria dos tipos de portais. Isto é especialmente benéfico para portais de gestão do conhecimento. Às vezes, as equipes usam email como forma de comunicação para um projeto, que rapidamente espalha as informações em várias conversas que não podem ser localizadas ou gerenciadas. Quando você move estes tipos de processos para a mesma plataforma que você gerencia sua biblioteca de documentos, você ajuda seus funcionários a trabalharem de maneira mais eficiente em projetos que incluem membros de outras equipes da empresa. Isto também pode ser positivo em portais para parceiros, por exemplo, onde você trabalha com usuários de diferentes regiões que precisam compartilhar informações sobre seus trabalhos.

Utilização na prática:

-     CitiXsys reconstruiu seu portal do conhecimento para facilitar o compartilhamento de informações para seus usuários e parceiros. O novo sistema reúne uma variedade de serviços, desde módulos de vídeos de treinamentos a fóruns de discussões que são uma maneira de ajudar os funcionários. A colaboração que resulta dos fóruns de discussão intensificou o impacto do portal, e a empresa agora conta com funcionários 3 vezes mais engajados.

Um Bom Design Vai Além do Look & Feel

O design visual e a usabilidade são fatores importantes no design de portais web, mas uma interface de usuário (UI) construída com funcionalidades básicas não irá ajudar as empresas a atingirem o ROI que precisam dos seus portais. Soluções de portais são projetados para desenvolver ferramentas de trabalho digitais personalizadas que ajudam os usuários a realizarem suas atividades, sendo um administrador de sistema realizando a manutenção dos papéis de usuários ou um paciente tentando agendar sua próxima consulta.

  Isabella Rocha 2018-05-15T20:04:59Z
Categories: CMS, ECM

Liferay Faces Portal 3.0.2, Bridge Impl 4.1.1, Bridge Ext 5.0.2 Released

Tue, 05/15/2018 - 10:01
Liferay Faces Portal 3.0.2, Bridge Impl 4.1.1, Bridge Ext 5.0.2 Released

Liferay Faces Portal 3.0.2, Bridge Impl 4.1.1, and Bridge Ext 5.0.2 have been released with support for PrimeFaces 6.2, PrimeFaces p:fileUpload mode="simple" (thanks to community member Yeray Rodriguez!), URLs with spaces and more!

Liferay Faces Portal 3.0.2 Release Notes Highlights
  • [FACES-3242] - Upgrade to PrimeFaces 6.2
  • [FACES-3243] - portal: components with javascript (captcha, inputRichText, etc) fail to update with Ajax in Liferay 7.0 GA5

Full Release Notes

Liferay Faces Bridge Impl 4.1.1 Release Notes Highlights
  • [FACES-3242] - Upgrade to PrimeFaces 6.2
  • [FACES-3264] - PrimeFaces file upload fails with PrimeFaces 6.2
  • [FACES-3250] - Primefaces file upload mode=simple does not work (thanks to community member @yerayrodriguez for this contribution!)
  • [FACES-2958] - bridge creates invalid URLs when view params contain spaces in liferay
  • [FACES-3261] - The wrong content type of "text/html" is set for execute "@all" Ajax responses

Full Release Notes

Liferay Faces Bridge Ext 5.0.2 Release Notes Highlights
  • [FACES-2958] - bridge creates invalid URLs when view params contain spaces in liferay

Full Release Notes

Archetypes

Along with these updates, all of our archetypes have been updated to the latest appropriate Liferay Faces, PrimeFaces, and Mojarra artifacts.

JSFSPEC #1433

In order to avoid JSFSPEC #1433, we strongly recommend that all JSF projects update to the latest appropriate Liferay Faces and Mojarra artifacts. JSF 1.2 projects should also add the following context-param to each web.xml file (Liferay Faces Util 2.1.0 and 3.1.0 automatically add the context-param for JSF 2.1+ projects via web-fragment.xml):

<context-param> <param-name>javax.faces.ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE</param-name> <param-value>true</param-value> </context-param>

Please report any issues with this new release in JIRA and ask any questions in our forums.

Kyle Joseph Stiemann 2018-05-15T15:01:32Z
Categories: CMS, ECM

Adding Flexibility to Your Themes Through Gulp Hooks

Sat, 05/12/2018 - 11:58

I recently took an online course to learn more about TypeScript, a superset of JavaScript that provides optional static typing, classes, interfaces, and much more. Whenever I'm in the process of  learning a new language/framework/etc. I find it helpful to experiment in a setting I'm already familiar with, where I can  add that new thing a little at a time. Since I work with Liferay themes on a daily basis, I thought it would be a fun experiment to use TypeScript for a theme's main.js file.

At first, I had to compile my TypeScript then move the compiled js file over to the src/js folder in my theme. After doing this a few times I found myself wondering, "there's got to be an automated way to do this." And, there is! Using the example of our liferay-theme-es2015-hook I was able to create a hook that would add TypeScript compilation to the build process; you can see the finished hook here. I'll be using my TypeScript hook as an example of how you could further add custom flexibility to your theme building process.

To create the hook, the first thing to do is initialize a new npm project using npm init to generate and add the necessary fields to the package.json. Next, add the depdencies we'll need  for developing our hook, gulp and liferay-theme-tasks:

npm install --save-dev gulp liferay-theme-tasks

Next create an index.js where the custom gulp tasks will reside.

Depending on what extra processes you would like to add to your theme build, the following steps would be slightly different; adjust for your own project as needed.

Here's the index.js file of the liferay-theme-typescript-hook; let's break down what's happening here.

We've added a few more depenedencies to our hook, gulp-typescript, run-sequence, and typescript. Add the dependencies you need using require statements then export the function for use by the liferay-theme-tasks hook using the standard module.exports.

Next, we'll create the gulp.task we'll want to be picked up and ran in our gulp build/deploy process. In the example, I've created a task called 'typescript:compile' that will be called by the hook.

Finally we tell the hook where to insert the task in the process, since this has to do with my main.js/ts in my src folder I've pointed to 'after:build:src' for further examples you can see the gulp.hook() sequences in the es2015 hook.

And that's it! Now, to make this available for either personal or public use we need to do one of the following: for personal use, from the hook's root folder call npm link to make the npm package available on your system. For public usage simply use npm publish to add your package to the npm public registry.

If you'd like to try the TypeScript hook locally, I've put clear instructions with examples on the repository.

Have fun expanding your theme building workflow!

Alexander Valencia 2018-05-12T16:58:29Z
Categories: CMS, ECM

Hook for Remote Live Publishing History of web content

Fri, 05/11/2018 - 06:16
  portal.properties ----------------------- journal.article.form.default.values=content,abstract,categorization,display-page,related-assets,permissions,custom-fields,Publish History journal.article.form.update=content,abstract,categorization,schedule,display-page,related-assets,custom-fields,Publish History     create Publish History.jsp inside html/portlet/journal/article and put below code <%-- /**  * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.  *  * This library is free software; you can redistribute it and/or modify it under  * the terms of the GNU Lesser General Public License as published by the Free  * Software Foundation; either version 2.1 of the License, or (at your option)  * any later version.  *  * This library is distributed in the hope that it will be useful, but WITHOUT  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more  * details.  */ --%>   <%@ include file="/html/portlet/journal/init.jsp" %>   <%@ page import="com.liferay.portal.model.BackgroundTask" %> <%@ page import="com.liferay.portal.service.BackgroundTaskLocalServiceUtil" %> <%@ page import="com.liferay.portal.kernel.dao.orm.DynamicQuery" %> <%@ page import="com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil" %> <%@ page import="com.liferay.portal.kernel.util.PortalClassLoaderUtil" %> <%@ page import="com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil"%> <%@ page import="com.liferay.portal.kernel.dao.orm.Criterion"%> <%@ page import="com.liferay.portal.kernel.dao.orm.OrderFactoryUtil" %> <%@ page import="com.liferay.portal.kernel.backgroundtask.BackgroundTaskConstants" %>   <div><h4>Remote Live Publishing History</h4></div> <% JournalArticle article = (JournalArticle)request.getAttribute(WebKeys.JOURNAL_ARTICLE); String articleId = article.getArticleId(); try{ DynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass( BackgroundTask.class, PortalClassLoaderUtil.getClassLoader()); Criterion criterion1=RestrictionsFactoryUtil.like("taskContext","%##########% "+articleId+",%##########%");         Criterion criterion2 =RestrictionsFactoryUtil.eq("completed", true);                  dynamicQuery.add(RestrictionsFactoryUtil.and(criterion1, criterion2));         dynamicQuery.addOrder(OrderFactoryUtil.desc("createDate")); List<Object> list = BackgroundTaskLocalServiceUtil.dynamicQuery(dynamicQuery); if(list!=null && list.size()>0){%> <div style="max-height:400px; overflow-x:auto"> <table class="table table-bordered table-striped"> <thead class="table-columns"> <tr> <th>#</th> <th>Published On</th> <th>Published By</th> <th>Status</th> <!-- <th>BackgroundTaskId</th> --> </tr> </thead> <tbody class="table-data"> <%for(int j=0;j<list.size();j++){%> <tr> <td class="table-cell"><%=j+1%></td> <td class="table-cell"><%=((BackgroundTask)list.get(j)).getCreateDate()%></td> <td class="table-cell"><%=((BackgroundTask)list.get(j)).getUserName()%></td> <td class="table-cell"><%=BackgroundTaskConstants.getStatusLabel(((BackgroundTask)list.get(j)).getStatus())%></td> <%-- <td class="table-cell"><%=((BackgroundTask)list.get(j)).getBackgroundTaskId()%></td> --%> </tr> <% }%> </tbody> </table> </div> <% } else{%> <div>Either this has not been published or no history available</div> <%} } catch(Exception ex){ ex.printStackTrace(); }     %>   Neha Goyal 2018-05-11T11:16:52Z
Categories: CMS, ECM

LSNA 2018 Platinum Sponsor Interview: Mika Kuikka, Valamis

Thu, 05/10/2018 - 13:48

In this Liferay Symposium North America interview series, we put a spotlight on our event sponsors and the ways in which they are driving digital transformation today. These interviews help put a face to the modern innovations happening at the companies in focus and give a glimpse into their latest innovations.

In addition to being President, Mika Kuikka is one of the co-founders of Valamis (formerly Arcusys), a corporate eLearning platform that measures and analyzes the effectiveness of the learning process to aid businesses in employee training. Mika is an online learning enthusiast and is responsible for Valamis’ operations in North America, operating out of Boston, Massachusetts. Mika has helped organizations of all sizes in their digital transformation by translating customers’ voices to the product development team of Valamis - Learning Experience Platform.

Liferay: What is your current position at Valamis? Can you share a brief overview of what it is you do in your work with the company?

Mika Kuikka: I am the President at Valamis Inc. and the Co-founder of Valamis. I am an Ameri-Finn that left my home in Finland to establish a new home and presence for Valamis in North America. I’m responsible for running our North American operations and making sure that we continue to help organizations of all sizes in their digital transformation of learning.

L: What would you say most motivates you and what do you wish to accomplish through your position?

MK: Achieving goals that others think are impossible. Looking back to where we started, in 2003 - four young start-up entrepreneurs in a small office in Eastern Finland - to now - 200 employees, eight offices in five countries globally, and a view to downtown Boston opening from our office windows.

I want to drive our North American business unit to a prosperous growth with the help of our great sales and marketing team in Boston. To state the next epic goal in my life, I want to see Valamis grow to be the best learning experience platform in the world.

L: This year at LSNA, we are focused on the next step of digital innovation. Digital transformation and the continuing advent of new technology is changing businesses around the world. What do you think companies need to do in order to successfully innovate in their technological strategy?

MK: I think that companies need to focus on three things to successfully innovate:

  1. Align their technological strategy with their business KPIs. What are the business outcomes you want and expect to achieve from implementing new technology? Do the expected benefits outweigh the time and costs?
  2. Implement a corporate learning strategy to upskill employees to different roles.
  3. Don’t chase emerging technology as a competitive advantage, proactively seek it out. It is important that your company is not just reacting to new technology, but proactively looking for ways and solutions that fix issues within your business.

L: As IT and business strategies continue to evolve, how do you predict everyday business will change in the coming years?

MK: In general, the adoption of artificial intelligence and intelligent automation will change the way we do business forever. IT and business strategies need to be aligned with the new business landscape. A significant amount of jobs will be lost to intelligent automation but, at the same time, new positions that previously didn’t exist will be created. This leads to large skill gaps. For this reason, adapting business strategies and learning strategies aligned with business goals will be very important in ensuring that the workforce is trained and reskilled to fill the gaps.

Flexible technology that provides great digital learning experiences and digital customer experiences both inside and outside organizational borders, in addition to measuring and understanding the effect of training programs and digital experiences, will be a key factor for business success.

L: Along with changing businesses, today’s customers have new standards regarding their online experiences with companies. How do you see organizations needing to change and adapt to new customer demands in order to stay successful?

MK: The review economy has put product development in the hands of the consumer and the businesses that use these products and services. To stay successful, it is a necessity to put the user first and meet customer demands. As such, customer insight should be central in determining business strategy.

Today, customers are expecting a grade A user experience everywhere. Time is scarce and customers don’t want to be spending most of the little time they have for themselves trying to understand where to find the information they are looking for. The importance of UX and service design is growing constantly. People have an expected level of user experience in consumer-facing services, and if you don’t deliver up to par, you will increase the churn, disappoint and frustrate your customers and users, hindering your business.

L: What is your favorite thing about Liferay Symposium North America? What should a first-time attendee make sure not to miss?

MK: My favorite part about all these years we’ve spent at symposiums is that it’s like having a family reunion. Meeting all the Liferay people, partners and customer both old and new in a setting that is inspiring and not too tightly scheduled.

Over the years, we have met several future clients at symposiums. A first-time attendee should definitely visit our Valamis booth and have a chat with our team, take time to see the presentation by travel technology mogul, Amadeus, go see the keynotes and, most importantly, discuss your project or business with other guests over coffee or lunch in order to get new ideas to take home with you. And don’t forget about the music scene in New Orleans after the official program is done.

L: Besides being a platinum sponsor at LSNA, what else are you up to? What might our readers be interested in that is happening at Valamis?

MK: We’re reaching the next level of future enterprise learning by leveraging artificial intelligence and intelligent automation in order to offer personalized learning experiences and intelligent prescriptive recommendations to learners to support the learning and development of both organizations and individuals. We’re building on learning analytics to help our customers align business and learning strategies, as well as define the metrics of success in L&D.

We also will be doing demos at our booth during LSNA 2018, so come by and check it out!

Join Us at Liferay Symposium North America 2018

Liferay Symposium will take place from October 8-10 this year in New Orleans, LA and registration is now open. Click the link below and register for three days of insights and support in your digital transformation.

Register for LSNA 2018 Today   Matthew Draper 2018-05-10T18:48:30Z
Categories: CMS, ECM

Liferay Portal 7.1 Alpha 2 Release

Tue, 05/08/2018 - 16:31
I'm pleased to announce the immediate availability of: Liferay Portal 7.1 Alpha 2
 
  Download Now!

Alpha 2 primarily focuses on being a bug fix release.

New Features Summary

Modern Site Building: Liferay 7.1 introduces a new way of adding content.  Fragments allows a content author to create content in small reusable pieces.  Fragments can be edited in real time or can be exported and managed with the tooling of your choice.  Use page templates from within a site and have complete control over the layout of your content pages.  Navigation menus now give you complete control over site navigation.  Create site navigation in new and interesting ways and have full control over the navigations visual presentation.        Forms Experience: Liferay 7.1 includes a completely revamped forms experience.  Forms can now have complex grid layouts, numeric fields and file uploads. They now include new personalization rules that let you customize the default behavior of the form.  Using the new Element Sets, form creators can now create groups of reusable components.  Forms fields can now be translated into any language using any Liferay locale and can also be easily duplicated. 
    Redesigned System Settings: System Settings has received a complete overhaul.  Configurations have been logically grouped together making it easier than every before to find what's configurable.  Several options that were located on Server Administration have also been moved to System Settings.     User Administration: User account from has been completely redesigned.  Each form section can now be saved independently of each other minimizing the chance of losing changes.  The new ScreensNavigationEntry let's developers add any form they want to user administration.     Improvements to Blogs and Forums:  Blog readers a can now un-subscribe to notifications via email. Friendly URLs used to be generated based on the entries title. Authors now have complete control over the friendly URL of the entry.   Estimated reading time can be enabled in System Settings and will be calculated based on time taken to write an entry.     Blogs also have a new cards ADT that can be selected from the application configuration.  Videos can now be added inline while writing a new entry from popular services such as: Youtube, Vimeo, Facebook Video, and Twitch.  Message boards users can now attach as many files as they want by dragging and dropping them in a post.  Message boards also has had many visual updates.     Workflow Improvements: Workflow has received a complete UI overhaul.  All workflow configuration is now consolidated under one area in the Control Panel.  Workflow definitions are now versioned and previous versions can now be restored.  Workflow definitions can now be saved in draft form and published live when they are ready.     Infrastructure: Many improvements have been incorporated at the core platform level, including ElasticSearch 6.0 and the inclusion of Tomcat 9.0.  At the time of this release  JDK 8 is still the only supported JDK.  
Documentation Documentation for Liferay 7.1 is well underway.  Many sections have already been completed in the Deployment and Development Sections.  For information on upgrading to 7.1 see the Upgrade Guide. Jamie Sammons 2018-05-08T21:31:44Z
Categories: CMS, ECM

Pre-Upgrade Scripting (6.2 > DXP) - Pt 3 - Web Content Version Cleanup

Mon, 05/07/2018 - 08:12

We have a lot of distributed web content management in our Liferay installation and many articles are undoubtedly edited many times over a period of years. Let's take a look...:

select count(*) from journalarticle; Returns 19,984 records

And, via the script console we can see there are much fewer unique articles:

out.println(com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceUtil.getJournalArticleResourcesCount())

which returns 3,861 articles. I think we can make some headway, here, too. An "article" resource object actually contains all of its corresponding historical versions and the link between them is the ResourcePrimKey, which is also what is needed to fetch the latest version of a given article. You can get an idea of how many unique versions might exist on a given article, use: select distinct version from journalarticle;  We were shocked to see an article edited as many as 221 times!

Here is the script so far. It can process any number of web content resources or *all* of them. Feel free to comment on potential improvements...:

 

Daniel Tyger 2018-05-07T13:12:22Z
Categories: CMS, ECM

Upload web document/file in to liferay from external java application

Sat, 05/05/2018 - 04:17

Refer https://web.liferay.com/web/antonio.junior/blog/-/blogs/12168124 and create web service client for Portlet_DL_DLAppService.

 

package com.lr.ws.soap.fileupload;   import java.net.MalformedURLException; import java.net.URL;   import com.liferay.portal.service.ServiceContext; import com.liferay.portlet.documentlibrary.service.http.DLAppServiceSoap; import com.liferay.portlet.documentlibrary.service.http.DLAppServiceSoapServiceLocator;   import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.Path;   public class DLFileUpload { public static void main(String[] args) {         try {         DLAppServiceSoapServiceLocator dlAppLocator = new DLAppServiceSoapServiceLocator();             DLAppServiceSoap dlAppService = dlAppLocator.getPortlet_DL_DLAppService(getURL("Portlet_DL_DLAppService"));         ServiceContext serviceContext = new ServiceContext();                 Path path = Paths.get("path of file");         byte[] bytes = Files.readAllBytes(path);                  dlAppService.addFileEntry(repositoryId, folderId, sourceFileName, mimeType, title, description, changeLog, bytes, serviceContext);             System.out.println("-------------------FILE UPLOADED-------------------------------");         } catch (Exception e) {             e.printStackTrace();         }     }       private static URL getURL(String serviceName) throws MalformedURLException {         String url = "http://localhost:8080";         String screenName = "userName";         String password = "Password";           int pos = url.indexOf("://");         String protocol = url.substring(0, pos + 3);         String host = url.substring(pos + 3, url.length());           StringBuilder sb = new StringBuilder();         sb.append(protocol);         sb.append(screenName);         sb.append(":");         sb.append(password);         sb.append("@");         sb.append(host);         //sb.append("/api/secure/axis/");         sb.append("/api/axis/");         sb.append(serviceName);         System.out.println("URL "+sb.toString());         return new URL(sb.toString());     } }  

 

Neha Goyal 2018-05-05T09:17:41Z
Categories: CMS, ECM

Why LSNA 2018 Has a Code of Conduct

Fri, 05/04/2018 - 18:05

Liferay seeks to create a positive environment at the upcoming Liferay Symposium North America 2018, taking place from October 8-10 in New Orleans.

As a company, one of our core values is to value people. This extends beyond just in the way we do business, but in the environment we create at events. When we started planning for LSNA this year, we wanted to make sure we put this in writing with a stated Code of Conduct. We believe that this will help us support an environment of respect and courtesy for everyone joining us this year.

This outlines our standards for all participants at the event, including attendees, sponsors, speakers, organizers and volunteers. By understanding and following the Code of Conduct, all event participants can help us continue to make the Liferay community healthy and supportive.

The Short Version

Liferay is committed to providing a safe event for everyone so that our community can remain healthy and supportive, both online and in person. Liferay does not tolerate discrimination, harassment or unacceptable behavior of any kind.

Please demonstrate professionalism, kindness and respect for other individuals. In the event of improper behavior, event staff reserve the right to take action they may deem appropriate.

Should you witness or experience unacceptable behavior, please let a member of our event staff know immediately so that we can prevent such behavior from continuing. Attendees found violating the Code of Conduct may be asked to leave the event, and may be banned from future Liferay events.

Thank you for helping to make Liferay Symposium North America 2018 a friendly, safe environment for all attendees.

The Importance of a Code of Conduct

Liferay is dedicated to the safety and wellbeing of all event attendees. Through our Code of Conduct, Liferay hopes that attendees at LSNA 2018 and all future Liferay events will feel part of a safe environment and that potential negative occurrences can be avoided altogether. Together, we can continue making the Liferay community into a positive setting that is welcome to all people, both in person at events and online.

Contact Information

During LSNA 2018, attendees with concerns regarding inappropriate behavior can let any member of our event staff know. Liferay will have staff available at our registration desk during normal event hours and event staff will be recognizable by our staff shirts or lanyards.

For any questions or concerns regarding this Code of Conduct or its implementation, please contact ls-na@liferay.com.

Read our Complete Code of Conduct

Read the complete official Liferay Symposium North America 2018 Code of Conduct for full details.

Read Here   Matthew Draper 2018-05-04T23:05:39Z
Categories: CMS, ECM

SQL Server/DXP Upgrade Settings

Fri, 05/04/2018 - 09:23

When you are upgrading to DXP on SQL Server, it is recommended to set the following property in the portal-upgrade-ext.properties file:

verify.process.concurrency.threshold=10000

Otherwise you can encounter issues during the upgrade related to schema changes after cursor opens, etc.

This can hit you during the verification of audited models or resource permissions, especially when you have large row counts.

The property setting above should make the verify processes run sequentially rather than in parallel and will prevent the kinds of exceptions like:

Caused by: java.lang.Exception: Verification error: com.liferay.portal.verify.VerifyResourcePermissions at com.liferay.portal.verify.VerifyProcess.doVerify(VerifyProcess.java:124) at com.liferay.portal.verify.VerifyResourcePermissions.verify(VerifyResourcePermissions.java:76) at com.liferay.portal.verify.VerifyResourcePermissions.doVerify(VerifyResourcePermissions.java:88) at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:72) ... 15 more Caused by: java.util.concurrent.ExecutionException: com.microsoft.sqlserver.jdbc.SQLServerException: Could not complete cursor operation because the table schema changed after the cursor was declared. at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.liferay.petra.function.UnsafeConsumer.accept(UnsafeConsumer.java:42) at com.liferay.petra.function.UnsafeConsumer.accept(UnsafeConsumer.java:30) at com.liferay.portal.verify.VerifyProcess.doVerify(VerifyProcess.java:117) ... 18 more

 

David H Nebinger 2018-05-04T14:23:48Z
Categories: CMS, ECM

16 Awesome Web Portal Examples

Wed, 05/02/2018 - 18:25

As a web-based platform, a portal allows users to connect with one another and find content that is relevant with ease and simplicity. It combines information from different sources into a single user interface.

A portal’s functionality can provide a far-reaching impact on an organization and its processes. In fact, many companies throughout various industries are employing a portal platform. Industries and portal use cases include the following:

Banking & Insurance Portals 1. Mercury, Customer Portal

In an effort to enhance customer experiences and improve retention rates through more effective service, Mercury Insurance created a customer portal that consolidated multiple systems of record. In doing so, the company was able to provide its audience with access to various tools, important records and effective channels of communication through single sign on. The portal both reduced operational costs and boosted consumer ratings in a J.D. Power study by 40 points.

2. Allianz, Wealth Management/Insurance Portal

General insurance company Allianz Group offers a site that is both dynamic and personal. With the "My Insurance Portfolio" customer site, users have the ability to retrieve historical records of purchased products and services along with integrated features to facilitate policy payments and renewals. The site also features easy-to-update contact information and communication preferences.

3. Britam, Financial Advisement Portals

As a leading diversified financial services group with a presence in seven different countries in Africa, Britam built a financial advisor portal, a customer service portal and a partner service portal on a single platform. By integrating these sites with one another and other pre-existing solutions, including a marketplace and corporate intranet also built on Liferay, the company was able to better serve and empower both internal and external audiences.

4. Carrefour Bank, Financial Customer Self-Service Portal

In order to properly serve a quickly-growing customer base, Carrefour Bank created a new self-service portal for its audience, which gave users the ability to access financial extracts, manage their interactions with the organization and negotiate their debts and credits in a single location. By replacing their old portal, Carrefour was also able to plan for continued expansions in online services and the ability to build and publish new products for their customers in the future.

Patient Portals 5. AvMed, Consolidated Payer Portal

Through the consolidation of online solutions, AvMed was able to create unique user portals with a single sign on, helping to serve a wide variety of unique users quickly and in a single location. In addition, the portal’s easy-to-use dashboard meant that users could quickly find the information and tools they needed for better self-service, leading to an increase in both unique visitors per month and quarterly savings.

6. MedImpact, Benefit Program Portal

MedImpact provides pharmacy benefit programs to hundreds of organizations, each with their own unique combination of offerings for members. MedImpact’s portal centralized authentication and authorization control across numerous sites that had been previously built to supply and manage various benefit programs. Combined with single sign on capabilities and custom portlets, the portal lowered MedImpact’s operational costs and increased their control over the programs they manage for pharmacies.

Government Portals 7. Grants.gov, Federal Government Portal

The mission of Grants.gov is to allow applicants for federal grants to apply for and manage grant funds online through a common website. With a fully-functional government portal, organizations can simplify grant management and eliminate redundancies. Grants.gov is unique in that it sends more than 1 million email notifications at the public’s request and receives more than 4 million page views weekly.

8. London Borough of Camden, Local Government Portal

With services ranging from housing control to social care, Camden wanted an online experience that was personalized for both citizens and local businesses, as well as simplified with a single sign on for streamlined services. Camden built a standards-compliance site that boasts a high level of configurability and integration capabilities (including Facebook, Google and OpenID login).

9. Council of Europe, Government Program Portal

The Council of Europe includes 47 member states and was created for the protection of human rights, democracy and the rule of law across the continent. The Council consists of several different operational entities, each with its own programs being run across member states, and created a program portal to host its more than 200 sites. The portal allows users to manage content across these sites and has improved internal communication between the programs as well as management over projects that include other organizations, such as the European Union.

Student & Faculty Portals 10. York University Passport York, Student & Faculty Portal

My.Yorku.ca is the central information source for 55,000 students and a convenient one-stop shop for both internal resources and external data. The site includes personal course information (instructor, times, course website, etc.), grades, student account information, subscriptions to non-York newsfeeds and more. In addition, personal portal calendars are automatically loaded with class times and locations for registered courses while other campus events can be added if desired.

11. Capella University iGuide, Student & Faculty Portal

Since all their courses are hosted online, Capella University needed a portal platform that could support the needs of both professors and students, including integrating existing applications, such as Blackboard real time academic activity, and providing new functionalities, such as a drag-and-drop degree completion plan. Capella's portal, iGuide, provides tools and relevant content for supporting learners in addition to direct access to class information, registration for classes and bill payments upon portal login.

12. Maine’s Public Universities, Multi-Campus Portal

The University of Maine System (UMS) integrates distinct campuses, centers and facilities for undergraduate and graduate student opportunities. An increasing amount of users that represent various audiences led UMS to replace their old portal with a new system that supplied class information, communication channels and more services. In addition, these services were tailored to unique user roles including students, staff, faculty, alumni, administration and more on a campus-by-campus basis.

Intranets, Extranets and Employee Portals 13. Coach, Employee Collaboration Portal

Multinational luxury fashion brand Coach, Inc., built the Coachweb intranet to create a faster and more efficient way for their headquarters and stores around the world to coordinate and communicate. The new intranet allowed Coach to eliminate redundant and incorrect internal information and improve document search through a content management system, which helped team members find needed information for their in-store needs. In addition, Coachweb created a digital workplace accessible through desktop, smartphones and tablets for easy employee access.

14. Saint-Gobain, Intranet

As an organization that processes patient files, Saint-Gobain needed a solution to help sustain innovation with speed and precision. They wanted an information systems portal that would allow users to create and manage their own pages and content. With their new site, users can contribute autonomously while having access to documents with internal document management tools and collaborative platform communities through portlets. These capabilities also reduced Saint-Gobain’s server load by half and reduced maintenance costs.

15. Domino’s Pizza, Intranet

Domino’s equipped their workforce with a modern intranet designed to provide employees with news updates, important links, department-specific homepages and more on a single site. In addition, Domino’s created three separate home pages for store, franchise and corporate workforces to provide specific services for these distinct team members and allow confidential information to be shared securely. Together with a new social sharing tool, Domino’s Pizza has improved internal communication across a large and varied workforce.

16. Volkswagen Group France, Intranet and Extranet

To improve both customer and employee satisfaction, Volkswagen overhauled their extranet and intranet, with both new portals supporting existing applications and providing new needed features. Volkswagen’s intranet portal supports five sites for each of the Group’s brands and provides various internal services, document access, internal news and a vehicle repository. The extranet portal supports a network of dealerships and repairers, managing applications and documents for day-to-day business and information access.

Each of these 16 sites was created using various editions of the Liferay platform.

Finding the Right Portal for You

Leveraging a portal to the best of its capabilities means choosing one that is right for your business. Learn more about portal types and which can be right for you in our whitepaper.

Read “Four Types of Portals That Solve Enterprise Problems”  

*The websites shared within this blog post are copyrighted and solely belong to the companies they reference. They are intended only for general use and information.

Matthew Draper 2018-05-02T23:25:13Z
Categories: CMS, ECM

Pre-Upgrade Scripting (6.2 > DXP) - Pt 2 - Document Version Cleanup

Mon, 04/30/2018 - 08:47

Do you have a lot of documents in your Liferay instance? It may be worth it to clean out old document versions... Let's take a look:

mysql> select count(*) from dlfileentry; Returns 12,300.
mysql> select count(*) from dlfileversion; Returns 13, 678.

Looks worth it to remove historic versions. I decided to explore one of our sites that has a lot of documents in their repository, using Mitesh Panchal's excellent script for targeting document version deletions by site and folderId. I added a preview mode option and some logging and exception catches and figured out that if you use "0" for the folderId, the script will crawl the entire site's set of folders. Awesome start.

Upon reviewing the results of this first site's log of traced transactions, I discovered some flawed data..:

Folder Name: Supplemental Course Links... Deleting >>1.4 with Title=Testing Success and Remediation Plan.pdf Deleting >>1.2 with Title=Testing Success and Remediation Plan.pdf Deleting >>1.1 with Title=Testing Success and Remediation Plan.pdf Folder Name: Professio...

It looks like version 1.4 would be deleted and 1.3 is being retained. Indeed, Liferay's database table dlfileentry version=  record is not the true *latest* version for the same file as listed in the dlfileversion table. Time to see how pervasive this problem is. After some inquiries, I learned there were more than 50 cases across a variety of sites where this problem scenario recurred. In this case we will use DLFileVersionLocalServiceUtil.getLatestFileVersion() to get the accurate latest version for each file and delete the rest.

For this use case, this variation on Mitesh's script works well for any given site and or specific folder. But we want to clean them all out. Here is a version that is reworked to accomplish that with a dynamic query to improve performance...:

But this script did not run, due to the errors being caught for every dlfileentry record that had *no* corresponding dlfileversion record. It turns out that after installing XTivia's "Documents and Media File System Checker" portlet that these same records were also showing up in that portlet's output as having no file existing in the file system. The entries are useless to end users and do not even list out in the UI. Makes sense, but does make this harder...

Enter a script to delete a targeted list of fileEntryIds that are the offending / missing documents. Here is a mysql statement that identifies file entries with no version records...:

select fileEntryId from dlfileentry where fileEntryId NOT IN (select dlfe.fileEntryId from dlfileentry dlfe, dlfileversion dlfv where dlfe.fileEntryId=dlfv.fileEntryId and dlfv.version=dlfe.version);

Here is a quick script to target-delete a list of specific fileEntryIds you want to remove from the system. Once this script is run, the full document version cleanup script will run.

 

Daniel Tyger 2018-04-30T13:47:59Z
Categories: CMS, ECM

4 áreas que todo retailer debe considerar en el proceso de integración de tecnología IoT en sus sistemas

Wed, 04/25/2018 - 11:55

El Internet de las Cosas (IoT) llegó para quedarse y su importancia continuará aumentando en los próximos años. Esta red de dispositivos conectados y conectados a internet está siendo adoptada por todos los sectores, de todo el mundo, que se han propuesto crear una nueva estrategia para sus operaciones, incluyendo las organizaciones de retail. Según estimaciones de Gartner, para 2020 se espera que circulen en el mercado, al menos, 25 mil millones de dispositivos conectados vía IoT, una cifra que, si consultamos a diferentes organizaciones, podría ser incluso mayor.

Si bien cada retailer tendrá que determinar el rol de los dispositivos IoT en su estrategia a largo plazo, tanto en la forma en la que llega a sus clientes como en la que opera internamente, el incremento en la tendencia de los dispositivos conectados demuestra que empresas de todas partes deberán estar preparadas para implementar dichas estrategias. Sin embargo, existen múltiples complicaciones que pueden surgir en el proceso de integración del uso de dispositivos de IoT en los procesos comerciales diarios, aprovechando el análisis generado por IoT dentro de estrategias más amplias. Estas complicaciones pueden afectar a todo: desde a los niveles de satisfacción del cliente, hasta elementos importantes de la seguridad.

Las empresas de retail tendrán que tener en cuenta un plan para hacer frente a las complicaciones que puedan surgir en las siguientes 4 áreas. Un buen planteamiento estratégico no solo les garantizará una mayor probabilidad de éxito, sino que también proporcionará una mayor sensación de seguridad y apoyo a sus empleados.

1. Seguridad de la información

Con el aumento del número de dispositivos conectándose en cualquier momento para generar experiencias de IoT consistentes y efectivas, las compañías de retail deben tener en cuenta los posibles riesgos a los que se enfrentan en lo que respecta a la seguridad. Si un dispositivo habilitado con IoT y conectado a información sensible de la empresa es hackeado, la información puede verse comprometida. Esto significa que adoptar fuertes medidas de seguridad traerá muchos beneficios a tu organización en su estrategia a largo plazo. Estas medidas incluyen: políticas de contraseñas, actualizaciones consistentes del firmware, gateways potentes en las redes de IoT para prevenir que dispositivos obsoletos puedan comprometer la seguridad de otros dispositivos, y protocolos de seguridad que protejan las redes locales.

Las personas todavía se están acostumbrando al Internet de las Cosas, incluidos los empleados a los que se les anima a conectar sus dispositivos personales, como sus smartphones, y a aprovechar otros dispositivos habilitados para el IoT en su vida laboral diaria, como son los sensores en tienda. A través de la implementación fuertes medidas de seguridad, tus empleados podrán hacer uso de la red de dispositivos IoT con tranquilidad y confianza. Así, estas medidas deben ser implementadas, no solo para proteger los ecosistemas de hoy, sino también para preparar a las empresas para la evolución del IoT del futuro.

2. Gestión de la privacidad

Así como lo es la seguridad, la privacidad también es un tema de preocupación en lo que respecta a la implantación de la tecnología IoT. Por su parte, la seguridad se centra en garantizar que las empresas utilizan la información obtenida de su audiencia de forma legal. Pero, por otro lado, no ser capaz de recoger ningún dato de tus usuarios significa que tu ecosistema de IoT no va a tener valor para tu estrategia de marketing y desarrollo de software. Siendo así, el debate surge en torno al volumen de datos que tu empresa puede recopilar, y el nivel de privacidad que puede exigir el usuario. La recopilación de datos cada vez más específicos, capacitará a la empresa para conocer mejor el comportamiento de sus empleados y clientes. ¿Pero cómo saber cuándo estas informaciones son demasiado sensibles?

Wired señala que los patrones derivados del Big Data, generados por el IoT, están ayudando a las compañías a comprender mejor el comportamiento individual de los usuarios. Pero la recopilación de datos y su uso puede causar fácilmente resentimiento de las audiencias. Las empresas que deseen potenciar su tecnología IoT deben ofrecer, al menos, una pequeña cantidad de poder a su público objetivo para que ofrezcan su consentimiento y expongan su voluntad a participar o no en el ecosistema tecnológico que está siendo construido a su alrededor. Sin su consentimiento, se puede generar una falta de confianza, que, a su vez, puede lderivar en rechazo a lo que anteriormente era considerado como innovador y útil. Sin embargo, obteniendo el consentimiento del usuario, los datos adquiridos a través de cada dispositivo pueden ofrecer a las empresas una mayor comprensión de sus empleados y clientes.

3. Compatibilidad e interoperabilidad del Ecosistema IoT.

El Internet de las Cosas no existiría sin la conectividad adecuada entre los muchos dispositivos que pertenecen a la red. Sin embargo, el sistema ideal de IoT puede enfrentarse a algunas dificultades cuando estos dispositivos, muchas veces operados por diferentes sistemas, intentan conectarse entre sí, especialmente en un escenario en el que los softwares de Google y Apple están en una constante lucha para obtener una mayor parcela de este mercado. Esto lleva a que diferentes dispositivos se comuniquen entre sí en una red compleja, causando problemas interrelacionados y complicaciones durante el proceso de integración. Los retailers deben asegurarse de que las redes que se construyen estén compuestas por dispositivos que puedan conectarse fácilmente entre sí, pero también deben considerar la gran variedad de software que necesitarán adoptar de cara a hacer frente a la cantidad y diversidad de clientes que llegan a las tiendas.

Si el ecosistema de IoT adoptado por la tienda no es compatible con los dispositivos que utilizan los clientes, los retailers no serán capaces de ofrecer a su audiencia una experiencia tan completa como les gustaría. Como consecuencia, las tiendas no serán capaces de recopilar la cantidad deseada de información sobre el cliente. Si bien es verdad que no es posible tener soluciones para todas las complicaciones que pueden surgir en el proceso de integración, tener un departamento de IT que esté preparado y tenga disponibilidad para diagnosticar y resolver cualquier problema será un factor importante para garantizar la salud y el crecimiento de tu ecosistema de IoT. Además, algunos de los dispositivos más modernos ya son capaces de enviar señales que se conectan a diferentes tipos de software para que puedan superar cualquier incompatibilidad y proporcionar una experiencia IoT consistente, para la mayor audiencia posible.

4. Almacenamiento de datos y optimización del rendimiento.

Tal como ha sido discutido en el contexto de la privacidad, los dispositivos del Internet de las Cosas van a tratar con una gran cantidad de datos, que podrán ser utilizados por la compañía para entender mejor sus operaciones diarias y los intereses de los clientes que se conectan a sus dispositivos mientras están en la tienda. Pero, ¿está tu empresa preparada para recibir, almacenar y analizar grandes cantidades de datos?

Según IEEE, las grandes cantidades de datos recopilados por los dispositivos habilitados con IoT serán mejor aprovechados con tecnologías cognitivas que puedan analizar la información a una velocidad más rápida que los típicos procedimientos de analítica. Sin embargo, los usuarios de software de IoT deberán prepararse para complicaciones relacionadas con: el análisis de datos, incluidos limitación de datos o valores atípicos que causan falsos positivos o negativos, las dificultades para manejar grandes cantidades de datos no estructurados y la gestión de datos en tiempo real, en lugar del procesamiento de datos por lotes. La generación de un gran volumen de datos es lo que da a los ecosistemas de IoT su valor cuando se trata de conocer mejor a los clientes y las operaciones de retail, pero también significa que las empresas tendrán que repensar cómo abordar el sistema de análisis de datos.

Previniendo complicaciones en el ecosistema de IoT

Tener en cuenta las áreas de fricción durante el desarrollo de los ecosistemas del Internet de las Cosas te va ayudar a estar preparado para evitar sus efectos negativos. Como toda la estrategia de software, es importante que tengas objetivos a largo plazo en mente respecto a tu capacidad para utilizar teecnología IoT y sacar partido de sus ventajas, de forma que tu empresa de retail salga beneficiada. Evitando problemas con los datos y con la privacidad, complicaciones de compatibilidad y las posibles brechas de seguridad, podrás crear sistemas industriales de IoT muy efectivos.

Equipa a tu empresa con tecnología IoT

La tecnología IoT está pasando de ser una opción hipotética de dispositivos conectados para ser una tendencia que define y determina cómo las empresas operan a diario. Descubre más sobre cómo Liferay DXP puede transformar la forma de hacer negocios.

Lee el whitepaper Plataformas de Experiencia Digital: Diseñado para la Transformación Digital.   Marta Dueñas González 2018-04-25T16:55:08Z
Categories: CMS, ECM