Rapid Development Environment (RDE) in AEM as a Cloud Service
10 most beautiful buildings around world
- Taj Mahal, India
- Sydney Opera House, Australia
- Sagrada Familia, Spain
- Eiffel Tower, France
- St. Basil's Cathedral, Russia
- Burj Khalifa, UAE
- Guggenheim Museum, USA
- Neuschwanstein Castle, Germany
- Petra, Jordan
- The Parthenon, Greece
How to create an experience fragment in AEM?
- Open AEM and navigate to the Assets console.
- Click on the Experience Fragments folder on the left side of the console.
- Click on the "Create" button at the top of the console and select "Experience Fragment" from the dropdown menu.
- Fill in the required fields in the "Create Experience Fragment" dialog box, including the XF's name, title, and description. You can also select a thumbnail image to represent the XF.
- Click on the "Create" button to create the XF.
- Once the XF has been created, you can begin authoring it by clicking on the "Open" button next to its name in the Assets console.
- The authoring mode for an XF is similar to the standard AEM authoring environment. You can add components and content to the XF, as well as define variations that can be used to tailor the XF for different audiences or use cases.
- Once you have finished authoring the XF, you can publish it to make it available for use in your AEM sites. To publish the XF, select it in the Assets console and click on the "Publish" button at the top of the console. You can choose to publish the XF as a draft or a final version, and select the channels or audiences that should have access to it.
- After the XF has been published, you can use it in your AEM sites by adding it as a component to a page or template. When the page or template is rendered, the XF will be displayed with its defined content and variations.
Write a file in Node | NodeJS tutorial
In Node using FileSystems, developer can perform the various file operations, create file, add content into file, delete file.
First import the FileSystems fs using the below node code
const fs = require('fs')
Then, using the Node FIleSystems object fs we could perform the form operations. Liek below.
fs.writeFileSync('notes.txt', 'This file is created by NodeJS application. ')
writeFileSync will create and write the first data into the file. writeFileSynch method have two parameters, first file name and second data.
Next if we want to add or append data into an existing file then use appendFileSync method. Like Below.
fs.appendFileSync('notes.txt', 'DO NOT DELETE THIS FILE')
Failed to construct 'Text': Please use the 'new' operator
Failed to construct 'Text': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
Resolution
We did not import anything Text in the React Component. Hence, component is fail to understand this. Import the Text from the source.
e.g. import { Text } from 'ReactFile.js'
React.createElement: type is invalid -- expected a string
React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
If you are seeing this error that means you are using any element that is either not imported or not getting resolved in your render.
Resolution 1
Check the elements that are being use and their import.
Resolution 2
Change the return statement and try to return without function sign. refere Stackoverflow | React.createElement: type is invalid -- expected a string
Hope this help you to resolve the error.
How to clean node or npm cache?
Using the command cache clean we could clear the node cache.
npm cache clean --force
Best Hotels in New Delhi, India | India Travel Guide
New Delhi is capital city of India and one of the largest city of India. We have listed the some best, luxary and 5 stars rating hotels in New Delhi, India, along with their star rating, price per night, food options, location, and popular booking websites. You may choose and book your hotels in New Delhi using their direct website links.
1. The Taj Mahal Hotel
- Star Rating: 5 stars
- Price per Night: Starts from $200
- Food: Offers a range of restaurants serving Indian and international cuisines.
- Location: Mansingh Road, New Delhi.
- Booking Website: www.tajhotels.com
2. The Leela Palace New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $250
- Food: Provides multiple dining options including Indian, Italian, and Asian cuisine.
- Location: Diplomatic Enclave, Chanakyapuri, New Delhi.
- Booking Website: www.theleela.com
3. ITC Maurya, a Luxury Collection Hotel
- Star Rating: 5 stars
- Price per Night: Starts from $150
- Food: Offers a variety of restaurants serving Indian, Chinese, and European cuisines.
- Location: Diplomatic Enclave, Sardar Patel Marg, New Delhi.
- Booking Website: www.marriott.com
4. The Oberoi, New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $300
- Food: Features multiple dining options including Indian, Chinese, and international cuisines.
- Location: Dr. Zakir Hussain Marg, New Delhi.
- Booking Website: www.oberoihotels.com
5. The Imperial
- Star Rating: 5 stars
- Price per Night: Starts from $250
- Food: Offers a range of dining options including Indian, Italian, and European cuisines.
- Location: Janpath, Connaught Place, New Delhi.
- Booking Website: www.theimperialindia.com
6. Hyatt Regency Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $120
- Food: Provides multiple restaurants offering Indian, Chinese, and international cuisines.
- Location: Bhikaji Cama Place, Ring Road, New Delhi.
- Booking Website: www.hyatt.com
7. Shangri-La's - Eros Hotel, New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $180
- Food: Features various dining options including Indian, Chinese, and Italian cuisines.
- Location: Janpath, Connaught Place, New Delhi.
- Booking Website: www.shangri-la.com
8. The Claridges New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $150
- Food: Offers a selection of restaurants serving Indian, European, and Mediterranean cuisines.
- Location: Aurangzeb Road, New Delhi.
- Booking Website: www.claridges.com
9. ITC Maurya, Luxury Collection Hotel (Chanakyapuri)
- Star Rating: 5 stars
- Price per Night: Starts from $200
- Food: Offers a variety of dining options including Indian, Chinese, and Italian cuisines.
- Location: Chanakyapuri, New Delhi.
- Booking Website: www.itchotels.com
10. The Lodhi
- Star Rating: 5 stars
- Price per Night: Starts from $300
- Food: Features a range of dining experiences including Indian, Mediterranean, and Thai cuisines.
- Location: Lodhi Road, New Delhi.
- Booking Website: www.thelodhi.com
The list of 5 stars Hotels in New Delhi not just end here, we have some more luxary and wonderful hotels in New Delhi.
11. Taj Palace, New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $200
- Food: Provides a variety of dining options with Indian, Chinese, and Mediterranean cuisines.
- Location: Sardar Patel Marg, Diplomatic Enclave, New Delhi.
- Booking Website: www.tajhotels.com
12. Le Meridien New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $150
- Food: Offers multiple dining venues including Indian, Italian, and pan-Asian cuisines.
- Location: Windsor Place, Janpath, New Delhi.
- Booking Website: www.marriott.com
13. The Lalit New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $130
- Food: Features a variety of dining options serving Indian, Mediterranean, and Pan-Asian cuisines.
- Location: Barakhamba Avenue, Connaught Place, New Delhi.
- Booking Website: www.thelalit.com
14. Roseate House New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $120
- Food: Offers a selection of restaurants serving Indian, European, and Asian cuisines.
- Location: Aerocity, Indira Gandhi International Airport, New Delhi.
- Booking Website: www.roseatehotels.com
15. Andaz Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $150
- Food: Provides diverse dining options including Indian, European, and Chinese cuisines.
- Location: Asset No.1, Aerocity, New Delhi.
- Booking Website: www.hyatt.com
16. JW Marriott Hotel New Delhi Aerocity
- Star Rating: 5 stars
- Price per Night: Starts from $150
- Food: Offers a variety of dining options including Indian, Japanese, and Mediterranean cuisines.
- Location: Asset Area 4 - Hospitality District, Delhi Aerocity, New Delhi.
- Booking Website: www.marriott.com
17. The Oberoi, Gurgaon
- Star Rating: 5 stars
- Price per Night: Starts from $350
- Food: Provides a range of dining options with Indian, Chinese, and international cuisines.
- Location: Udyog Vihar, Phase 5, Gurgaon (Delhi NCR).
- Booking Website: www.oberoihotels.com
18. The Roseate New Delhi
- Star Rating: 5 stars
- Price per Night: Starts from $200
- Food: Features multiple dining options serving Indian, European, and Asian cuisines.
- Location: Samalkha, NH-8, New Delhi.
- Booking Website: www.roseatehotels.com
19. The Ashok, Chanakyapuri
- Star Rating: 5 stars
- Price per Night: Starts from $100
- Food: Offers a variety of dining experiences including Indian, Chinese, and Mediterranean cuisines.
- Location: Diplomatic Enclave, Chanakyapuri, New Delhi.
- Booking Website: www.theashok.com
20. Eros Hotel New Delhi, Nehru Place
- Star Rating: 5 stars
- Price per Night: Starts from $120
- Food: Provides multiple dining venues serving Indian, Chinese, and Mediterranean cuisines.
- Location: Nehru Place, New Delhi.
- Booking Website: www.eroshotels.co.in
Please note that the prices mentioned are approximate starting prices and can vary depending on the season and availability. It is advisable to check with the hotels directly or visit their official websites for accurate pricing and to explore any special offers or packages they may have.
AppBuilder action
Could we use AppBuilder action from different AppBuilder application or service?
Adobe AppBuilder action in Adobe I/O runtime namespace is internal only, and could be use within the namespace until we expose them as a web-action. Once an Adobe I/O runtime action become web-action then, other users could use that from outside the namespaces just like an web service or internal action.
How to install older version of Node.JS and NPM
To install the older version of node.js use the below command. You could find the Node.js version here. https://nodejs.org/en/blog/release/
npm install -g node@14.19.0
To install the older version on npm in your machine use the below npm install command with specified version number.
npm install -g npm@4.0.0