azharuddin-sheikh.jpg

Azharuddin Sheikh

Azharuddin Sheikh is a Technical Writer at Contentstack with over 8 years of experience in IT publishing. He has been involved in various roles including Project and Product Management. He is passionate about technical writing and loves reading, and traveling to different places.

Posts by Azharuddin Sheikh

Oct 15, 2020

Introducing the Contentstack Command-line Interface (CLI) Beta

At Contentstack, we are always looking for ways to make it simpler for developers to use our APIs. With that in mind, we recently introduced Contentstack command-line interface (CLI) Beta, a simple, seamless way to interact with Contentstack using the command line. With this release, developers can now perform common tasks and bulk actions with just a few keystrokes, without having to code. Contentstack CLI - Supported Actions In this Beta release, you can use the Contentstack CLI to perform the following operations, as long as you have the proper permissions: Bulk publish and unpublish operations Content migration operations Bulk Publish and Unpublish Operations Using the Contentstack CLI, you can perform bulk operations on entries and assets. By running a series of commands in the CLI, you can perform the following tasks: Publish all entities and assets in bulk Publish all draft entries in bulk Publish entries and assets from one environment to another in bulk Publish all entries of a content type in bulk after adding a new field Publish entries in bulk after a non-localized field is updated Restore or unpublish entries in bulk Unpublish all published entries of a content type in bulk It’s possible to achieve all of the above actions using our Bulk Publish utility. However, using the Contentstack CLI makes managing content changes and publishing in bulk easier and quicker. Content Migration Operations Along with bulk operations, the Contentstack CLI allows you to perform content migration operations from the console. By using specific commands, you can perform the following content migrations operations: Export content: If you want to migrate content from one stack to another, you need to first export the content from the source stack. You can perform export operations using management and auth tokens. Import content: After you export content from one stack, you can import the content into another. Again, you use management and auth tokens to perform these operations. Setting Up the Contentstack CLI Getting started with Contentstack CLI is easy. You need to first install the required npm module and run csdx help to get all commands. For installation information, read the CLI documentation. Next, create a stack in your Contentstack account, or ask the admin to create one for you. Make sure you have either the Developer or Admin rights to the stack. You can use the stack’s management token or your auth token to authenticate. Using the Contentstack CLI Once authenticated, you can configure the CLI as per your requirements and start using the commands. Read the detailed instructions on using our CLI commands in our documentation.

Jun 18, 2020

A Google Chrome Extension to Edit Content On-The-Fly

Imagine you’re a content manager for a Contentstack-powered website. While browsing through your website, you see a typo. Of course, you want to fix it immediately. So, you log in to your Contentstack account, go to the corresponding stack, search for the entry, open the entry, and then make changes to it. Although these are quick steps, the process of navigating from the web page to the corresponding entry may take anywhere between 10 seconds to a couple of minutes, depending on the number of entries you have in your stack. Making updates could get frustrating if you have to perform these steps several times a day. The process for making changes is now easier for content managers with the new Contentstack Google Chrome extension. Introducing Contentstack Google Chrome Extension The new Contentstack Google Chrome extension helps you jump from a live web page to its corresponding entry in Contentstack in a single click. The following explains how to set up and use this extension. Setting up the Extension Before an editor of your website can set up the Contentstack extension in Chrome, your site developer needs to add a few attributes to the body tag to the website’s page templates, as a one-time activity. Here’s a step by step guide on how to set up your stack to enable adding the Contentstack extension. Once the developer has added the code in Contentstack, visit our Chrome extension page and click the “Add to Chrome” link to add the extension to your Google Chrome browser. Once added, a prompt appears asking for the following details: Stack API Key: This is the unique ID of your stack. You can get it from a developer, administrator, or the owner of the stack. Domain: The base URL of your website, for example, example.com. Region: Select the Contenstack region where your app is hosted. You can get this from the organization owner. Button preferences: You can choose the color for your edit button. You can also decide where to place this edit button on the page, for example, right bottom corner and so on. As an editor, these are the only settings you need to configure for this extension. Using the Extension After you have set up the Contentstack extension, you will see an “Edit” icon on all the web pages powered by Contentstack that you have edit access. Clicking this button will take you to the corresponding entry in Contenstack, where you can make your edits. This extension eliminates the need to search for the corresponding entries in Contenstack and makes the process of editing quicker and easier. For information on the Contentstack Google Chrome extension, see the detailed guide on how to set up the Contentstack extension.

Sep 11, 2019

Introducing Contentstack European Instance

Today, we are excited to announce the release of our new Contentstack European instance. This was a highly requested region and allows us to better serve our growing customer base in Europe. One App, Two Regions The European instance provides all the features and functionalities of the North American Instance. However, these are two completely separate instances, running on separate cloud infrastructure. Data stored in one region is not shared with the other region. They have different login URLs, username and password management mechanisms, and they function independently of one another. Better Performance for European Customers While both regional instances operate using the exact same SLAs, the European instance’s close proximity to our European customers ensures minimal latency and better app performance for users in that region. GDPR Compliance and Security Contentstack is a GDPR-compliant organization and therefore our new European Instance adheres to all compliance requirements inherent to the GDPR. This means that data security and privacy are guaranteed with Contentstack. Regional Availability for All Your choice of a regional instance is not limited to your location. This means that you can choose between North America and Europe, irrespective of where you and your business are located. Both regions offer the same experience, UI, features, support, security, and performance. Migrate Data Easily If your organization’s data is in the North American instance, Contentstack allows you to migrate it to the European instance in just a few simple steps. Contact our support team at support@contentstack.com for more details. API endpoints for European instance For European accounts, there are different base endpoints to access the APIs. Here are the European endpoints: Contentstack App: https://eu-app.contentstack.com/ Contentstack CDN: https://eu-cdn.contentstack.com/ Contentstack API: https://eu-api.contentstack.com/ Contentstack Images: https://eu-images.contentstack.com/ Contentstack Content (other than images): https://eu-assets.contentstack.com/ More resources You can read more about the new European instance here: European Instance (document) API convention FAQs

Jul 15, 2019

Saving In-Progress Entries

In this week’s release, we introduced the ability to save content with empty required fields. Let’s understand this feature in detail. What Is an In-Progress Entry? An entry is a piece of content that you create using a content type. An in-progress entry is an entry that includes one or more mandatory fields with no set value. Previously, Contentstack did not allow saving entries if the required fields were left blank. While it was helpful for validation, such an implementation made it impossible for content managers to navigate away from content entry midway, for example, to edit content later or to create entry references. Note that the “mandatory” field validation is checked when publishing the entry. Why Allow Saving In-Progress Entries? The following lists some situations where saving in-progress entries is beneficial. Avoid data loss: The ability to save entries with no values in mandatory fields allows you to save data at any time while editing. Being able to save data helps guard against data loss that may arise to a sudden power outage or a system crash. Edit in multiple sessions: You may want to work on an entry over a long period of time, due to the size or complexity of the entry. In such cases, you can save the entry as incomplete and come back later for further editing. Create references on the go: While creating an entry, you may want to create reference entries on the go. However, to do that, you have to navigate away from the parent entry page. Saving in-progress entries makes this easier and helps ensure content is up to date without any loss of data. How to Save In-Progress Entries Saving in-progress entries is not different than saving a normal, complete entry. To save an in-progress entry: Go to the entry page Add content (you can choose to skip adding values to the mandatory fields) Click "Save" This saves the entry as being in progress. There are, however, certain limitations on the actions that you can perform on in-progress entries. Read more about them below. Note: This feature is not available by default. To enable in-progress entries for your organization, contact us a support@contentstack.com. What You Cannot Do with In-Progress Entries An important point to note is that entries cannot be published until they are complete. In fact, all the actions related to publishing the entry cannot be performed for in-progress entries. This means that the in-progress entries: Cannot be published Cannot be added to release Cannot be scheduled for publishing Cannot be part of bulk publishing Cannot be sent for publishing as reference So all rules that were applicable to publishing are still the same, ensuring that only complete content can go live. Read more about saving in-progress entries.

Mar 01, 2019

Contentstack CMS Releases Customizations for Rich Text Editor (RTE)

The Rich Text Editor (RTE) is a key component of any content management system. With RTE, a content manager doesn't have to worry about content formatting and styling from the code-end. It makes life easier for content managers to apply styles and formatting to content without needing the help of a developer. Better yet, we have taken it one step further to give developers the flexibility to customize and control the formatting options in the RTE, including only the ones that content managers are likely to use while omitting the ones that are unnecessary. Customization Options for RTE Until now, when you create a content type and add a Rich Text Editor field, you only had the option to choose either the Basic or the Advanced editor with pre-set formatting selections. We have now introduced the Custom editor option so that you can choose the desired formatting options that are specific to your needs. The customizable Rich Text Editor (RTE)  gives developers more control and provide content managers with a smoother and more tailored editing experience.  Let’s look at how developers can customize the RTE field through the web app.  Steps to Customize the RTE Create a content typeLog into your Contentstack account and create a content type. Add an RTE fieldClick on the field and edit the field properties that are available on the right side panel. In Editor Version, select Latest. Inside Editor Type, select Custom. Select the Formatting or Inserting options that you want. If you want all the options, click on Select All. Save your settingsOnce you have added the required options to your editor, click Save and Close. Now, on the entry page, the content managers would be able to see the RTE field with only the options that you selected in the above step.  Note: Only the roles that have permission to create content types can customize the RTE field.  Read more about the customized RTE on our documentation site.