From 8a48dad2e1e5281f8e0af6aba89f334f1480a909 Mon Sep 17 00:00:00 2001 From: AishDani Date: Tue, 3 Dec 2024 18:12:13 +0530 Subject: [PATCH 1/3] refactor:resolved advanced propertise and test migration bugs --- api/src/models/FieldMapper.ts | 2 + .../advanceProperties.interface.ts | 6 +- ui/src/components/AdvancePropertise/index.tsx | 114 +++--------------- .../ContentMapper/contentMapper.interface.ts | 8 +- ui/src/components/ContentMapper/index.tsx | 20 +-- .../LegacyCms/Actions/LoadFileFormat.tsx | 8 +- ui/src/components/TestMigration/index.tsx | 28 +++-- 7 files changed, 63 insertions(+), 123 deletions(-) diff --git a/api/src/models/FieldMapper.ts b/api/src/models/FieldMapper.ts index b8349201..4b664750 100644 --- a/api/src/models/FieldMapper.ts +++ b/api/src/models/FieldMapper.ts @@ -19,6 +19,8 @@ interface Advanced { description: string; validationErrorMessage: string; options: any[]; + title ?: string; + url?: string; } /** diff --git a/ui/src/components/AdvancePropertise/advanceProperties.interface.ts b/ui/src/components/AdvancePropertise/advanceProperties.interface.ts index 4c32d4a2..057ea141 100644 --- a/ui/src/components/AdvancePropertise/advanceProperties.interface.ts +++ b/ui/src/components/AdvancePropertise/advanceProperties.interface.ts @@ -75,7 +75,7 @@ export interface UpdatedSettings { /** * The minimum size allowed. */ - minSize?: string; + minSize?: number; /** * The maximum size allowed. @@ -121,7 +121,7 @@ export interface UpdatedSettings { embedObjects?: any; - default_value?: string; + default_value?: string |boolean; options?: any[] } @@ -183,7 +183,7 @@ export interface StateType { /** * The minimum size allowed. */ - minSize?: string; + minSize?: number; /** * The maximum size allowed. diff --git a/ui/src/components/AdvancePropertise/index.tsx b/ui/src/components/AdvancePropertise/index.tsx index 314601c4..645e2cb7 100644 --- a/ui/src/components/AdvancePropertise/index.tsx +++ b/ui/src/components/AdvancePropertise/index.tsx @@ -91,7 +91,7 @@ const AdvancePropertise = (props: SchemaProps) => { */ const fetchContentTypes = async (searchText: string) => { try { - const { data } = await getContentTypes(props?.projectId ?? '', 0, 10, searchText || ''); //org id will always present + const { data } = await getContentTypes(props?.projectId ?? '', 0,5000, searchText || ''); //org id will always present setContentTypes(data?.contentTypes); } catch (error) { @@ -122,8 +122,9 @@ const AdvancePropertise = (props: SchemaProps) => { props?.rowId, { ...props?.value, - [field?.charAt(0)?.toUpperCase() + field?.slice(1)]: (event.target as HTMLInputElement)?.value, - validationRegex: '', + [field]: (event.target as HTMLInputElement)?.value, + default_value: currentToggleStates?.default_value, + validationRegex: currentToggleStates?.validationRegex ?? '', minChars: currentToggleStates?.minChars, maxChars:currentToggleStates?.maxChars, mandatory: currentToggleStates?.mandatory, @@ -134,6 +135,10 @@ const AdvancePropertise = (props: SchemaProps) => { embedObjects: embedObjectslabels, minRange: currentToggleStates?.minRange, maxRange: currentToggleStates?.maxRange, + minSize: currentToggleStates?.minSize, + maxSize: currentToggleStates?.maxSize, + title: currentToggleStates?.title, + url:currentToggleStates?.url }, checkBoxChanged ); @@ -185,7 +190,7 @@ const AdvancePropertise = (props: SchemaProps) => { props?.updateFieldSettings( props?.rowId, { - [field?.charAt(0)?.toUpperCase() + field?.slice(1)]: value, + [field]: value, validationRegex: '', mandatory: currentToggleStates?.mandatory, multiple: currentToggleStates?.multiple, @@ -200,13 +205,9 @@ const AdvancePropertise = (props: SchemaProps) => { }; const stringToBoolean = (value:string) =>{ - - if(value?.toLowerCase() === 'true'){ - return true - } - else{ - return false; - } + + + return value === 'true'; } @@ -336,30 +337,7 @@ const AdvancePropertise = (props: SchemaProps) => {
- {(props?.fieldtype === 'Single Line Textbox' || props?.fieldtype === 'Multi Line Textbox') && ( - - - Number of Characters - -
- ) => handleOnChange('minChars', e, true))} - /> - to - ) => handleOnChange('maxChars', e, true))} - /> -
-
- )} + {(props?.fieldtype === 'Dropdown') && <> @@ -469,65 +447,7 @@ const AdvancePropertise = (props: SchemaProps) => { /> - )} - - {props?.fieldtype === 'Number' && ( - - - Range - -
- ) => handleOnChange('minRange', e, true))} - /> - to - ) => handleOnChange('maxRange', e, true))} - /> -
-
- )} - - {props?.fieldtype === 'File' && ( - - - File Size Limit (MB) - - - - -
- ) => handleOnChange('minSize', e, true))} - /> - to - ) => handleOnChange('maxSize', e, true))} - /> -
-
- )} + )} {props?.fieldtype === 'Link' && ( <> @@ -581,12 +501,12 @@ const AdvancePropertise = (props: SchemaProps) => {
handleRadioChange('default_value',true)}> handleRadioChange('default_value',false)}> @@ -641,7 +561,7 @@ const AdvancePropertise = (props: SchemaProps) => { )} - {props?.fieldtype !== 'Global' && ( + {(props?.fieldtype !== 'Global' && props?.fieldtype !== 'Boolean') && (
- {data?.otherCmsType !== 'Group' && - data?.otherCmsField !== 'title' && - data?.otherCmsField !== 'url' && - data?.otherCmsType !== 'reference' && + {!( + data?.otherCmsType === 'Group' || + data?.otherCmsField === 'title' || + data?.otherCmsField === 'url' || + data?.otherCmsType === 'reference' || + data?.otherCmsType === 'global_field' + ) && ( @@ -912,7 +915,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R } /> - } + )}
); }; @@ -1331,7 +1334,8 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R isDisabled: data?.contentstackFieldType === 'text' || data?.contentstackFieldType === 'group' || data?.contentstackFieldType === 'url' || - data?.otherCmsType === "reference" + data?.otherCmsType === "reference" || + data?.contentstackFieldType === "global_field" } : { label: `${selectedOption} matches`, diff --git a/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx b/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx index 34fcf736..e7b22758 100644 --- a/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx +++ b/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx @@ -1,5 +1,5 @@ // Libraries -import { useEffect, useState } from 'react'; +import { useEffect, useRef, useState } from 'react'; import { Icon, TextInput } from '@contentstack/venus-components'; import { useDispatch, useSelector } from 'react-redux'; @@ -29,6 +29,8 @@ const LoadFileFormat = (props: LoadFileFormatProps) => { const migrationData = useSelector((state:RootState)=>state?.migration?.migrationData); const dispatch = useDispatch(); + const newMigrationDataRef = useRef(newMigrationData); + const [selectedCard] = useState( newMigrationData?.legacy_cms?.selectedFileFormat ); @@ -101,9 +103,9 @@ const LoadFileFormat = (props: LoadFileFormatProps) => { } const newMigrationDataObj = { - ...newMigrationData, + ...newMigrationDataRef?.current, legacy_cms: { - ...newMigrationData?.legacy_cms, + ...newMigrationDataRef?.current?.legacy_cms, selectedFileFormat: selectedFileFormatObj } }; diff --git a/ui/src/components/TestMigration/index.tsx b/ui/src/components/TestMigration/index.tsx index f0bb3367..5f260b92 100644 --- a/ui/src/components/TestMigration/index.tsx +++ b/ui/src/components/TestMigration/index.tsx @@ -37,6 +37,7 @@ const TestMigration = () => { const [disableTestMigration, setdisableTestMigration] = useState(false); const [disableCreateStack, setDisableCreateStack] = useState(false); + const [stackLimitReached, setStackLimitReached] = useState(false); const { projectId = '' } = useParams(); const dispatch = useDispatch(); @@ -85,7 +86,9 @@ const TestMigration = () => { const stack_count = stackData?.data?.stacks?.length; if (stack_count >= max_stack_limit) { - // setIsLoading(false); + setIsLoading(false); + setDisableCreateStack(true); + setStackLimitReached(true) Notification({ notificationContent: { text: 'You have reached the maximum limit of stacks for your organization' }, type: 'warning' @@ -180,15 +183,20 @@ const TestMigration = () => {
{subtitle &&

{subtitle}

} - + + + + + {newMigrationData?.test_migration?.stack_api_key && Date: Wed, 4 Dec 2024 12:26:40 +0530 Subject: [PATCH 2/3] refactor:removed unused components and refactored the logic for validation based on affix --- .../Common/FileUpload/fileupload.scss | 87 - ui/src/components/Common/FileUpload/index.tsx | 157 - .../components/Common/FileUpload/upload.scss | 211 - .../components/Common/FileUpload/upload.tsx | 481 -- .../LegacyCms/Actions/LoadUploadFile.tsx | 15 +- ui/src/components/LegacyCms/index.tsx | 16 - ui/src/components/MigrationFlow/index.scss | 57 - ui/src/components/MigrationFlow/index.tsx | 51 - .../MigrationFlow/migrationFlow.interface.ts | 7 - .../Migrations/NewMigration/ActionTitle.tsx | 31 - .../Migrations/NewMigration/DummyJSON.json | 4141 ----------------- .../NewMigration/NewMigrationWrapper.scss | 77 - .../NewMigration/NewMigrationWrapper.tsx | 204 - 13 files changed, 8 insertions(+), 5527 deletions(-) delete mode 100644 ui/src/components/Common/FileUpload/fileupload.scss delete mode 100644 ui/src/components/Common/FileUpload/index.tsx delete mode 100644 ui/src/components/Common/FileUpload/upload.scss delete mode 100644 ui/src/components/Common/FileUpload/upload.tsx delete mode 100644 ui/src/components/MigrationFlow/index.scss delete mode 100644 ui/src/components/MigrationFlow/index.tsx delete mode 100644 ui/src/components/MigrationFlow/migrationFlow.interface.ts delete mode 100644 ui/src/components/Migrations/NewMigration/ActionTitle.tsx delete mode 100644 ui/src/components/Migrations/NewMigration/DummyJSON.json delete mode 100644 ui/src/components/Migrations/NewMigration/NewMigrationWrapper.scss delete mode 100644 ui/src/components/Migrations/NewMigration/NewMigrationWrapper.tsx diff --git a/ui/src/components/Common/FileUpload/fileupload.scss b/ui/src/components/Common/FileUpload/fileupload.scss deleted file mode 100644 index 44476f91..00000000 --- a/ui/src/components/Common/FileUpload/fileupload.scss +++ /dev/null @@ -1,87 +0,0 @@ -@import '../../../scss/variables'; -/** - * Styles for the file upload container. - */ -.file-upload-container { - display: flex; - height: 21.25rem; - padding: 1rem; - flex-direction: column; - align-items: center; - gap: 0; - align-self: stretch; - border-radius: 0.25rem; - border: 0.125rem dashed $color-base-gray-40; - - /** - * Styles for the file upload element. - */ - .file-upload { - display: flex; - height: 4.5rem; - flex-direction: column; - justify-content: center; - align-items: center; - gap: 0.5rem; - flex-shrink: 0; - } - - /** - * Styles for the text inside the file upload element. - */ - .file-upload-text { - text-align: center; - font-family: Inter; - font-size: 1rem; - font-style: normal; - font-weight: $font-weight-regular; - line-height: 150%; - letter-spacing: 0.16px; - } - - /** - * Styles for the image inside the file upload container. - */ - .file-upload-image { - width: 15rem; - height: 15rem; - flex-shrink: 0; - } -} - -/** - * Adds a hover effect to the element, displaying a dashed border in the base purple color. - * - * @class hover - */ -.hover { - border: 0.125rem dashed $color-base-purple; -} - -/** - * This SCSS file contains styles for the FileUpload component. - */ - -.hidden { - display: none; -} - -/** - * Styles for the validation container component. - * - * The validation container is a flex container that displays a validation message - * for a file upload component. It has a white background color, a fixed height, - * and a border. The container is centered vertically and has no padding. - * - * @class validation-container - */ -.validation-container { - display: flex; - background-color: $color-base-white-5; - height: $px-108; - width: 100%; - align-items: center; - padding: 0 !important; - border: 1px solid #dde3ee; - border-radius: var(--TermCount, 5px); -} diff --git a/ui/src/components/Common/FileUpload/index.tsx b/ui/src/components/Common/FileUpload/index.tsx deleted file mode 100644 index 73958cd4..00000000 --- a/ui/src/components/Common/FileUpload/index.tsx +++ /dev/null @@ -1,157 +0,0 @@ -import { ChangeEvent, DragEvent, useRef, useState } from 'react'; -import { InfoModal } from '@contentstack/venus-components'; -import { IFile } from '../../../context/app/app.interface'; -import Upload from './upload'; -import './fileupload.scss'; - -type FileUploadProps = { - allowedFileExtentions: string[]; - allowMultiple?: boolean; - handleOnFileUpload: (file: IFile[]) => void; - projectId: string; -}; - -/** - * FileUpload component for uploading files. - * - * @param {FileUploadProps} props - The props for the FileUpload component. - * @returns {JSX.Element} The rendered FileUpload component. - */ -const FileUpload = (props: FileUploadProps) => { - const [isDragOver, setIsDragOver] = useState(false); - - const fileInputRef = useRef(null); - const targetRef = useRef(null); - - /** - * Empty method to handle setting upload modal to false. - */ - const handleSetUploadModalFalse = (): any => { - // Empty Method - }; - - /** - * Reads the files and opens the upload modal. - * - * @param {FileList | null} filesList - The list of files to be uploaded. - */ - const readFiles = (filesList: FileList | null) => { - //handle Null check - if (!filesList) return; - - const filesArray = Array.from(filesList); - - InfoModal({ - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - component: (props: any) => ( - - ), - modalProps: { - targetNodeOrId: targetRef.current, - - onClose: handleSetUploadModalFalse - }, - alignment: 'bottom-right' - }); - - setIsDragOver(false); - }; - - /** - * Handles the drop event when files are dropped onto the component. - * - * @param {DragEvent} e - The drop event. - */ - const handleDrop = (e: DragEvent) => { - e.preventDefault(); - e.stopPropagation(); - - readFiles(e.dataTransfer.files); - e.dataTransfer.clearData(); - }; - - /** - * Handles the drag toggle event when dragging files over the component. - * - * @param {boolean} flag - The flag indicating whether the files are being dragged over the component. - * @returns {Function} The event handler function. - */ - const handleDragToggle = (flag: boolean) => (e: DragEvent) => { - e.preventDefault(); - setIsDragOver(flag); - }; - - /** - * Handles the file change event when a file is selected using the file input. - * - * @param {ChangeEvent} e - The file change event. - */ - const handleFileChange = (e: ChangeEvent) => { - e.preventDefault(); - - readFiles(e?.target?.files); - }; - - /** - * Handles the file select event when the "Choose file" link is clicked. - * - * @param {any} e - The file select event. - */ - const handleFileSelect = (e: any) => { - e.preventDefault(); - fileInputRef?.current?.click(); - }; - - /** - * Handles the onClose event after the files are uploaded. - * - * @param {IFile[]} files - The uploaded files. - */ - const onCloseAfterUpload = (files: IFile[]) => { - props.handleOnFileUpload(files); - }; - - return ( - <> - {/*
-
- -
-
- - Drag and drop a file here or{' '} - - Choose file - - -
-
- */} -
-
- -
-
- - ); -}; - -export default FileUpload; diff --git a/ui/src/components/Common/FileUpload/upload.scss b/ui/src/components/Common/FileUpload/upload.scss deleted file mode 100644 index 13ab47b9..00000000 --- a/ui/src/components/Common/FileUpload/upload.scss +++ /dev/null @@ -1,211 +0,0 @@ -@import '../../../scss/variables'; - -/* Asset upload window css */ -/** - * Styles for the asset upload component. - * - * @class .asset-upload - */ -.asset-upload { - background: $color-brand-white-base; - box-shadow: 0 $space-4 $space-30 rgba(0, 0, 0, 0.25); - width: 31.25rem; - - /** - * Styles for the heading section of the asset upload component. - * - * @class .asset-upload__heading - */ - &__heading { - align-items: center; - border-radius: $radii-4; - display: flex; - height: 3.5rem; - justify-content: space-between; - padding: 0 calc(var(--space-22) + 0.063rem); - - /** - * Styles for the in-progress state of the heading section. - * - * @class .in-progress - */ - &.in-progress { - background-color: $color-brand-primary-base; - } - - /** - * Styles for the success state of the heading section. - * - * @class .success - */ - &.success { - background-color: $color-brand-success-base; - } - - /** - * Styles for the attention state of the heading section. - * - * @class .attention - */ - &.attention { - background-color: $color-brand-attention-base; - } - - /** - * Styles for the warning state of the heading section. - * - * @class .warning - */ - &.warning { - background-color: #ffab00 !important; - } - - /** - * Styles for the actions section of the heading. - * - * @class .asset-upload-actions - */ - .asset-upload-actions { - justify-content: space-between; - width: 4.375rem; - - /** - * Styles for the cancel, minimize, and maximize buttons in the actions section. - * - * @class .asset-upload__cancel - * @class .asset-upload__minimize - * @class .asset-upload__maximize - */ - &__cancel, - &__minimize, - &__maximize { - align-items: center; - border-radius: $radii-50; - cursor: pointer; - display: flex; - height: $space-30; - justify-content: center; - width: $space-30; - - /** - * Styles for the hover state of the cancel, minimize, and maximize buttons. - */ - &:hover { - background: rgba(34, 34, 34, 0.2); - } - - /** - * Styles for the SVG icons in the cancel, minimize, and maximize buttons. - */ - & > svg { - cursor: pointer; - } - } - - /** - * Styles for the SVG icons in the actions section. - */ - & > svg { - cursor: pointer; - } - } - - /** - * Styles for the count section in the heading. - * - * @class .asset-upload__count - */ - .asset-upload__count { - color: $color-font-white; - font-size: $size-font-xl; - font-weight: $font-weight-bold; - margin-left: calc(var(--space-16) + 0.063rem); - } - } - - /** - * Styles for the body section of the asset upload component. - * - * @class .asset-upload__body - */ - &__body { - height: 19.06rem; - margin-right: $space-15; - overflow-y: auto; - - /** - * Styles for each file in the body section. - * - * @class .asset-upload__file - */ - .asset-upload__file { - display: flex; - height: 3.75rem; - justify-content: space-between; - padding: $space-15; - - /** - * Styles for the name section of each file. - * - * @class .asset-upload__name - */ - &__name { - color: $color-font-black; - font-size: $size-font-medium; - font-weight: $font-weight-medium; - height: $space-14; - max-width: 16.25rem; - // @include text-wrapper; - } - - /** - * Styles for the actions section of each file. - * - * @class .asset-upload__actions - */ - &__actions { - display: flex; - - /** - * Styles for the progress section in the actions section. - * - * @class .asset-upload__progress - */ - &__progress { - margin-right: $space-34; - - /** - * Styles for the file loaded count in the progress section. - * - * @class .file-loaded - */ - .file-loaded { - color: $color-font-base; - font-size: $size-font-medium; - } - - /** - * Styles for the total size count in the progress section. - * - * @class .total-size - */ - .total-size { - color: $color-font-base; - font-size: $size-font-medium; - font-weight: $font-weight-bold; - } - } - - /** - * Styles for the cancel upload button in the actions section. - * - * @class .cancel-upload - */ - .cancel-upload { - cursor: pointer; - margin-top: calc(var(--space-2) + 0.063rem); - } - } - } - } -} diff --git a/ui/src/components/Common/FileUpload/upload.tsx b/ui/src/components/Common/FileUpload/upload.tsx deleted file mode 100644 index 748f4779..00000000 --- a/ui/src/components/Common/FileUpload/upload.tsx +++ /dev/null @@ -1,481 +0,0 @@ -import React, { Component } from 'react'; -import omit from 'lodash/omit'; - -import { - Icon, - cbModal, - ModalHeader, - ModalBody, - ModalFooter, - Button, - Tooltip, - ButtonGroup, - ValidationMessage, - ProgressBar -} from '@contentstack/venus-components'; - -import { returnFileSize, shortName } from '../../../utilities/functions'; - -import { UPLOAD_FILE_URL } from '../../../utilities/constants'; -import './upload.scss'; - -/** - * Renders a file component. - * - * @param {Object} props - The component props. - * @param {Object} props.file - The file object. - * @param {Function} props.handleRemove - The function to handle file removal. - * @returns {JSX.Element} The file component. - */ -const File = ({ file, handleRemove }: any) => { - return ( -
- {shortName(file.name)} - - - - {file.loaded || 0}/ - {file.total} - - {!file.uploaded && ( - handleRemove(file)} - className="cancel-upload" - size="tiny" - /> - )} - {file?.uploaded && file?.size !== 0 && } - -
- ); -}; - -/** - * Renders an error file component. - * @param file - The file object. - * @param handleRemove - The function to handle file removal. - * @returns The JSX element representing the error file component. - */ -const ErrorFile = ({ file, handleRemove }: any) => { - return ( -
- {shortName(file.name)} - - {file.error_message} - {file.uploaded && ( - handleRemove(file)} - className="cancel-upload ml-30" - size="tiny" - /> - )} - -
- ); -}; - -/** - * Renders a component for interrupting the file upload process. - * @param props - The component props. - * @returns The rendered InterruptUpload component. - */ -const InterruptUpload = (props: any) => { - const handleProceed = () => { - props.closeModal({ cancelUpload: true }); - }; - return ( -
- - -

- Clicking on Proceed will cancel all uploading process -

-
- - - - - - -
- ); -}; - -/** - * Component for handling file uploads. - */ -class Upload extends Component { - state = { - fileList: this.props.fileList, - errorFileList: [], - fileListData: [], - fileProgress: {}, - aggrPercent: 0, - window: true - }; - - componentDidMount() { - setTimeout(() => { - this.handleUpload(); - }); - } - componentDidUpdate(prevProps: any) { - if (prevProps.fileList.length !== this.props.fileList.length) { - const newFileListElements = [...this.props.fileList].splice(prevProps.fileList.length); - if (this.state.aggrPercent === 100) { - this.setState({ - aggrPercent: 0 - }); - } - this.setState({ - fileList: this.state.fileList.concat(newFileListElements) - }); - newFileListElements.map((file: any) => { - this.uploadAsset(file); - }); - } - } - - handleUpload = () => { - this.state.fileList.map((file: any) => { - this.uploadAsset(file); - }); - }; - - handleOnError = (key: any) => { - let errorFileList: any = [...this.state.errorFileList]; - - const fileList = this.state.fileList.filter((file: any) => { - if (file.key == key) { - errorFileList = [...errorFileList, file]; - return false; - } - return true; - }); - - this.setState({ - fileList, - errorFileList - }); - }; - - calculateAggrPercent = (fileProgress: object) => { - const progressValueArr = Object.values(fileProgress); - - let aggrPercent = 0; - if (progressValueArr.length) { - const sumOfProgress = progressValueArr.reduce((acc, current) => (acc = acc + current)); - aggrPercent = Math.floor(sumOfProgress / progressValueArr.length); - } - - return aggrPercent; - }; - - handleOnProgress = (data: any) => { - const fileProgress = { ...this.state.fileProgress, [data.key]: data.value }; - - const fileList = [...this.state.fileList]; - const fileObj = fileList.find((file) => file.key === data.key); - fileObj.progress = data.value; - fileObj.loaded = typeof data.loaded !== 'string' ? returnFileSize(data.loaded) : data.loaded; - fileObj.total = typeof data.loaded !== 'string' ? returnFileSize(data.total) : data.total; - - const aggrPercent = this.calculateAggrPercent(fileProgress); - const checkFileUploadStatus = this.state.fileList.filter((file: any) => !file.uploaded); - - if (aggrPercent === 100 && !checkFileUploadStatus.length) { - this.onMinimizeHandler(false); - this.props.onCloseAfterUpload(this.state.fileListData); - } - this.setState({ - fileProgress, - aggrPercent, - fileList - }); - }; - - isfileUploaded = (aggrPercent: number) => { - const checkFileUploadStatus = this.state.fileList.filter((file: any) => !file.uploaded); - - if (aggrPercent === 100 && !checkFileUploadStatus.length) { - return true; - } - return false; - }; - - handleRemove = (file: any) => { - file.xhrObj && file.xhrObj.abort(); - - let fileList = this.state.fileList; - fileList = fileList.filter((f: any, i: any) => f.key !== file.key); - - //on remove update fileProgress and re-calculate aggrPercent - const fileProgress = omit(this.state.fileProgress, file.key); - const aggrPercent = this.calculateAggrPercent(fileProgress); - - this.setState({ - fileList, - fileProgress, - aggrPercent - }); - }; - - handleErrorFileRemove = (errorFile: any) => { - let errorFileList = this.state.errorFileList; - errorFileList = errorFileList.filter((f: any, i: any) => f.key !== errorFile.key); - - const fileProgress = omit(this.state.fileProgress, errorFile.key); - const aggrPercent = this.calculateAggrPercent(fileProgress); - this.setState({ - errorFileList, - fileProgress, - aggrPercent - }); - }; - - uploadAsset = (file: any) => { - const formData = new FormData(); - - formData.append('file', file, file.name); - formData.append('projectid', this.props.projectId); - - file.xhrObj = new XMLHttpRequest(); - file.xhrObj.open('POST', UPLOAD_FILE_URL, true); - - const progressCb = (evt: any) => { - if (evt.lengthComputable) { - let percentComplete: any = evt.loaded / evt.total; - percentComplete = percentComplete * 100; - this.handleOnProgress({ - key: file.key, - value: +percentComplete.toFixed(5), - loaded: evt.loaded, - total: evt.total - }); - } - }; - - file.xhrObj.onreadystatechange = (e: any) => { - if (file.xhrObj.readyState === 4) { - if (file.xhrObj.status === 200 || file.xhrObj.status === 201) { - const response = JSON.parse(file.xhrObj.responseText); - - file.uploaded = true; - - //set State on File Upload - this.setState((prev: any) => ({ - ...prev, - fileListData: [ - ...prev.fileListData, - { - name: response?.filename, - url: response?.url, - message: response?.message - } - ] - })); - - this.handleOnProgress({ - key: file.key, - value: 100, - loaded: file.total, - total: file.total - }); - } else if (file.xhrObj.status == 0) { - /* empty */ - } else { - const error = JSON.parse(file.xhrObj.response); - file.error_message = - error?.errors?.file_size[0] || - error?.error_message || - 'Something went wrong , try re uploading'; - - file.xhrObj.upload.removeEventListener('progress', progressCb, false); - file.xhrObj && file.xhrObj.abort(); - this.handleOnError(file.key); - } - } - }; - - file.xhrObj.upload.addEventListener('loadstart', progressCb, false); - - file.xhrObj.upload.addEventListener( - 'loadend', - (e: any) => { - progressCb(e); - }, - false - ); - - file.xhrObj.upload.addEventListener('progress', progressCb, false); - file.xhrObj.send(formData); - }; - - onCloseInterruptUpload = (data: any) => { - if (data.cancelUpload) { - const fileList = this.state.fileList.filter((file: any) => !file.uploaded); - - fileList.forEach((element: any) => { - this.handleRemove(element); - }); - - this.props.onCloseAfterUpload(this.state.fileListData); - this.props.closeModal(); - } - }; - - onClose = () => { - const count = this.state.fileList.filter((file: any) => !file.uploaded).length; - if (count > 0) { - cbModal({ - component: (props: any) => ( - - ), - modalProps: { - size: 'xsmall', - onClose: this.onCloseInterruptUpload - } - }); - return; - } - this.props.closeModal(); - }; - - onMinimizeHandler = (flag: boolean) => { - this.setState({ window: flag }); - }; - - render() { - const count = this.state.fileList.filter((file: any) => !file.uploaded).length; - const totalFiles = this.state.fileList.length; - const errorFiles = this.state.errorFileList.length; - - return ( -
-
-
-
- {this.state.aggrPercent !== 100 || !this.isfileUploaded(this.state.aggrPercent) ? ( - - ) : errorFiles ? ( - - ) : ( - - )} - - {this.state.aggrPercent !== 100 ? ( - `Uploading ${count} file(s): ${this.state.aggrPercent}%` - ) : !errorFiles ? ( - - {!this.isfileUploaded(this.state.aggrPercent) - ? 'Processing...' - : `${totalFiles} file(s) uploaded successfully`} - - ) : totalFiles ? ( - {`${totalFiles} file(s) uploaded successfully, ${errorFiles} failed`} - ) : ( - {`Uploading ${errorFiles} file(s) failed`} - )} - -
-
- <> - {this.state.window ? ( - -
this.onMinimizeHandler(false)} - className="asset-upload-actions__minimize" - > - -
-
- ) : ( - -
this.onMinimizeHandler(true)} - className="asset-upload-actions__maximize" - > - -
-
- )} - -
- -
-
-
- {this.state.window && ( -
- {this.state.fileList.map((file: any) => { - return ( - - - - ); - })} - {this.state.errorFileList.map((file: any) => { - return ( - - - - ); - })} -
- )} -
-
- ); - } -} - -export default Upload; diff --git a/ui/src/components/LegacyCms/Actions/LoadUploadFile.tsx b/ui/src/components/LegacyCms/Actions/LoadUploadFile.tsx index 6ca28279..86381685 100644 --- a/ui/src/components/LegacyCms/Actions/LoadUploadFile.tsx +++ b/ui/src/components/LegacyCms/Actions/LoadUploadFile.tsx @@ -67,7 +67,6 @@ const LoadUploadFile = (props: LoadUploadFileProps) => { /**** ALL HOOKS HERE ****/ const newMigrationData = useSelector((state:RootState)=>state?.migration?.newMigrationData); - const selectedOrganisation = useSelector((state:RootState)=>state?.authentication?.selectedOrganisation); const migrationData = useSelector((state:RootState)=>state?.migration?.migrationData); const newMigrationDataRef = useRef(newMigrationData); @@ -77,7 +76,7 @@ const LoadUploadFile = (props: LoadUploadFileProps) => { const [showMessage, setShowMessage] = useState(newMigrationData?.legacy_cms?.uploadedFile?.isValidated); const [validationMessgae, setValidationMessage] = useState(''); const [isValidationAttempted, setIsValidationAttempted] = useState(false); - const [isDisabled, setIsDisabled] = useState( newMigrationData?.legacy_cms?.uploadedFile?.isValidated); + const [isDisabled, setIsDisabled] = useState(newMigrationData?.legacy_cms?.uploadedFile?.isValidated || isEmptyString(newMigrationDataRef?.current?.legacy_cms?.affix)); const [isConfigLoading, setIsConfigLoading] = useState(false); const [cmsType, setCmsType]= useState(''); const [fileDetails, setFileDetails] = useState(newMigrationData?.legacy_cms?.uploadedFile?.file_details); @@ -86,7 +85,6 @@ const LoadUploadFile = (props: LoadUploadFileProps) => { const [showProgress, setShowProgress]= useState(false); const [fileFormat, setFileFormat] = useState(newMigrationData?.legacy_cms?.selectedFileFormat?.fileformat_id); const [processing, setProcessing] = useState(''); - const [reValidate, setReValidate] = useState(newMigrationData?.legacy_cms?.uploadedFile?.reValidate || false); //const [isCancelLoading, setIsCancelLoading] = useState(false); //const [setIsFormatValid] = useState(false); @@ -224,7 +222,7 @@ const LoadUploadFile = (props: LoadUploadFileProps) => { setIsConfigLoading(true); const {data, status} = await getConfig(); - if (!isEmptyString(fileDetails?.localPath) && data?.localPath !== fileDetails?.localPath) { + if (!isEmptyString(fileDetails?.localPath) && data?.localPath !== fileDetails?.localPath && !isEmptyString(newMigrationDataRef?.current?.legacy_cms?.affix)) { setIsDisabled(false); setShowMessage(true); setValidationMessage(''); @@ -277,8 +275,8 @@ const LoadUploadFile = (props: LoadUploadFileProps) => { }); //setIsFormatValid(isFormatValid); - - setIsDisabled(!isFormatValid); + + setIsDisabled(!isFormatValid || isEmptyString(newMigrationDataRef?.current?.legacy_cms?.affix)); if(!isFormatValid){ setValidationMessage(''); dispatch(updateNewMigrationData({ @@ -391,11 +389,14 @@ const LoadUploadFile = (props: LoadUploadFileProps) => { if(newMigrationData?.legacy_cms?.uploadedFile?.reValidate){ setValidationMessage(''); } + if(!isEmptyString(newMigrationData?.legacy_cms?.affix) && !newMigrationData?.legacy_cms?.uploadedFile?.isValidated ){ + setIsDisabled(false); + } // else{ // setIsValidated(false); // } - setReValidate(newMigrationData?.legacy_cms?.uploadedFile?.reValidate || false); + },[isValidated,newMigrationData]); diff --git a/ui/src/components/LegacyCms/index.tsx b/ui/src/components/LegacyCms/index.tsx index b9a04d8d..b98c42a7 100644 --- a/ui/src/components/LegacyCms/index.tsx +++ b/ui/src/components/LegacyCms/index.tsx @@ -62,9 +62,6 @@ const LegacyCMSComponent = forwardRef(({ legacyCMSData, isCompleted, handleOnAll const [internalActiveStepIndex, setInternalActiveStepIndex] = useState(-1); const [stepperKey] = useState('legacy-Vertical-stepper'); - const [isValidated, setisValidated] = useState( - newMigrationData?.legacy_cms?.uploadedFile?.isValidated || false - ); const [isAllStepsCompleted, setIsAllStepsCompleted] = useState(false); const autoVerticalStepper = useRef(null); @@ -77,15 +74,6 @@ const LegacyCMSComponent = forwardRef(({ legacyCMSData, isCompleted, handleOnAll useImperativeHandle(ref, () => ({ getInternalActiveStepIndex: () => internalActiveStepIndex })); - - - - //handle on delete click - const handleOnClickDeleteUploadedFile = (e: MouseEvent) => { - e.preventDefault(); - console.warn(' handleOnClickDeleteUploadedFile CLICKED'); - // setIsCompleted(false) - }; /********** ALL USEEFFECT HERE *************/ @@ -199,10 +187,6 @@ const LegacyCMSComponent = forwardRef(({ legacyCMSData, isCompleted, handleOnAll fetchCMSData(); }, []); - useEffect(() => { - - setisValidated(newMigrationData?.legacy_cms?.uploadedFile?.isValidated || false); - }, [isLoading]); useEffect(() => { if (autoVerticalStepper?.current) { diff --git a/ui/src/components/MigrationFlow/index.scss b/ui/src/components/MigrationFlow/index.scss deleted file mode 100644 index 32586b5a..00000000 --- a/ui/src/components/MigrationFlow/index.scss +++ /dev/null @@ -1,57 +0,0 @@ -@import '../../scss/variables'; - -.basicinfo-tab { - cursor: pointer; - padding-bottom: $space-20; - .detail .Icon--small { - margin: 12px $space-10; - width: 16px; - height: 16px; - } - .basic-info-caret-right { - svg { - margin: 12px; - height: 16px; - width: 8px; - } - } -} -.basic-info-block { - margin: $space-10 $space-10 0; - padding-left: $space-12; - p { - font-style: normal; - font-weight: $font-weight-regular; - font-size: $size-font-medium; - color: $color-font-base; - } -} -.basic-info-block-active { - background: $color-brand-white-base; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - border-radius: $space-4; - height: 40px; - margin: $space-10 $space-10 0; - padding-left: $space-12; - p { - color: $color-brand-primary-base; - font-style: normal; - font-size: $size-font-medium; - font-weight: $font-weight-semi-bold; - } -} -.step-wrapper { - padding: 15px 0; -} - -.outline-text { - font-style: normal; - font-weight: $font-weight-semi-bold; - line-height: $line-height-default; - letter-spacing: 0.01em; - text-align: left; - font-size: 13px; - color: $color-font-base; - border-bottom: 1px solid $color-base-gray-40; - min-height: 35px; -} diff --git a/ui/src/components/MigrationFlow/index.tsx b/ui/src/components/MigrationFlow/index.tsx deleted file mode 100644 index a20085b8..00000000 --- a/ui/src/components/MigrationFlow/index.tsx +++ /dev/null @@ -1,51 +0,0 @@ -// Libraries -import { Icon } from '@contentstack/venus-components'; - -// Interface -import { MigrationFlowProps } from './migrationFlow.interface'; - -// Components -import FlowStepper from '../Stepper/FlowStepper/FlowStepper'; - -// Assets -import { CARET_RIGHT } from '../../common/assets'; - -// Style -import './index.scss'; - -const MigrationFlow = ({ - settingsText, - settingsClick, - showInfo, - migrationStepsText, - currentStep -}: MigrationFlowProps) => { - return ( -
-
-
{migrationStepsText}
- -
- -
-
-
- -

{settingsText}

-
-
-
-
- ); -}; - -export default MigrationFlow; diff --git a/ui/src/components/MigrationFlow/migrationFlow.interface.ts b/ui/src/components/MigrationFlow/migrationFlow.interface.ts deleted file mode 100644 index bbc4c001..00000000 --- a/ui/src/components/MigrationFlow/migrationFlow.interface.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface MigrationFlowProps { - settingsText: string; - migrationStepsText: string; - settingsClick: () => void; - showInfo: boolean; - currentStep: number; -} diff --git a/ui/src/components/Migrations/NewMigration/ActionTitle.tsx b/ui/src/components/Migrations/NewMigration/ActionTitle.tsx deleted file mode 100644 index 2f3cb2e6..00000000 --- a/ui/src/components/Migrations/NewMigration/ActionTitle.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import { Tooltip } from '@contentstack/venus-components'; - -export const ActionTitle = ({ title, stepName }: IActionTitleParams) => { - return ( - <> -
- - {stepName} - -
- -
-
- - {title} - -
-
- - ); -}; - -export interface IActionTitleParams { - title: string; - stepName: string; -} diff --git a/ui/src/components/Migrations/NewMigration/DummyJSON.json b/ui/src/components/Migrations/NewMigration/DummyJSON.json deleted file mode 100644 index a6222035..00000000 --- a/ui/src/components/Migrations/NewMigration/DummyJSON.json +++ /dev/null @@ -1,4141 +0,0 @@ -{ - "projectId": "", - "contentTypes": [ - { - "otherCmsTitle": "Homepage", - "otherCmsUid": "homepage", - "isUpdated": false, - "updateAt": "", - "contentstackTitle": "", - "contnetStackUid": "", - "fieldMapping": [ - { - "uid": "title", - "otherCmsField": "title", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title", - "otherCmsField": "title", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - } - ] - }, - { - "otherCmsTitle": "AboutUs", - "otherCmsUid": "aboutus", - "isUpdated": false, - "updateAt": "", - "contentstackTitle": "", - "contnetStackUid": "", - "fieldMapping": [ - { - "uid": "title1", - "otherCmsField": "title1", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title", - "otherCmsField": "title", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - } - ] - }, - { - "otherCmsTitle": "Article", - "otherCmsUid": "article", - "isUpdated": false, - "updateAt": "", - "contentstackTitle": "", - "contnetStackUid": "", - "fieldMapping": [ - { - "uid": "title2", - "otherCmsField": "title2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title", - "otherCmsField": "title", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - } - ] - }, - { - "otherCmsTitle": "LandingPage", - "otherCmsUid": "landing_page", - "isUpdated": false, - "updateAt": "", - "contentstackTitle": "", - "contnetStackUid": "", - "fieldMapping": [ - { - "uid": "title3", - "otherCmsField": "title3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title", - "otherCmsField": "title", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url", - "otherCmsField": "url", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner", - "otherCmsField": "banner", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest", - "otherCmsField": "integerTest Number", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown", - "otherCmsField": "integer dropDown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating", - "otherCmsField": "integer rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio", - "otherCmsField": "integer radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo", - "otherCmsField": "decimal no.", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown", - "otherCmsField": "decimal dropdown", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date", - "otherCmsField": "date24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour", - "otherCmsField": "date12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly", - "otherCmsField": "dateonly", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone", - "otherCmsField": "datewithouttimezone24hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour", - "otherCmsField": "datewithouttimezone12hour", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio", - "otherCmsField": "decimal radio", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating", - "otherCmsField": "decimal rating", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-2", - "otherCmsField": "title-2", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-2", - "otherCmsField": "url-2", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-2", - "otherCmsField": "banner-2", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-2", - "otherCmsField": "integerTest Number-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-2", - "otherCmsField": "integer dropDown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-2", - "otherCmsField": "integer rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio_2", - "otherCmsField": "integer radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_2", - "otherCmsField": "decimal no.-2", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-2", - "otherCmsField": "decimal dropdown-2", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-2", - "otherCmsField": "date24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-2", - "otherCmsField": "date12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-2", - "otherCmsField": "dateonly-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-2", - "otherCmsField": "datewithouttimezone24hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-2", - "otherCmsField": "datewithouttimezone12hour-2", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-2", - "otherCmsField": "decimal radio-2", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-2", - "otherCmsField": "decimal rating-2", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-3", - "otherCmsField": "title-3", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-3", - "otherCmsField": "url-3", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-3", - "otherCmsField": "banner-3", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest-3", - "otherCmsField": "integerTest Number-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-3", - "otherCmsField": "integer dropDown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-3", - "otherCmsField": "integer rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio-3", - "otherCmsField": "integer radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo-3", - "otherCmsField": "decimal no.-3", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-3", - "otherCmsField": "decimal dropdown-3", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-3", - "otherCmsField": "date24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-3", - "otherCmsField": "date12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-3", - "otherCmsField": "dateonly-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-3", - "otherCmsField": "datewithouttimezone24hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-3", - "otherCmsField": "datewithouttimezone12hour-3", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-3", - "otherCmsField": "decimal radio-3", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-3", - "otherCmsField": "decimal rating-3", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "title-4", - "otherCmsField": "title-4", - "otherCmsType": "singleLine", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Single Line Textbox" - }, - { - "uid": "url-4", - "otherCmsField": "url-4", - "otherCmsType": "urlEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "URL" - }, - { - "uid": "banner-5", - "otherCmsField": "banner5", - "otherCmsType": "assetLinkEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "file" - }, - { - "uid": "integerTest5", - "otherCmsField": "integerTest Number-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "integerDropDown-5", - "otherCmsField": "integer dropDown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRating-5", - "otherCmsField": "integer rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "integerRadio5", - "otherCmsField": "integer radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalNo_5", - "otherCmsField": "decimal no.-5", - "otherCmsType": "numberEditor", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "number" - }, - { - "uid": "decimalDropdown-5", - "otherCmsField": "decimal dropdown-5", - "otherCmsType": "dropdown", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "date-5", - "otherCmsField": "date24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "date12hour-5", - "otherCmsField": "date12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "dateonly-5", - "otherCmsField": "dateonly-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone-5", - "otherCmsField": "datewithouttimezone24hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "datewithouttimezone12hour-5", - "otherCmsField": "datewithouttimezone12hour-5", - "otherCmsType": "datePicker", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "Date" - }, - { - "uid": "decimalRadio-5", - "otherCmsField": "decimal radio-5", - "otherCmsType": "radio", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - }, - { - "uid": "decimalRating-5", - "otherCmsField": "decimal rating-5", - "otherCmsType": "rating", - "contentstackField": "", - "contentstackFieldUid": "", - "contentstackFieldType": "dropdown" - } - ] - } - ] -} diff --git a/ui/src/components/Migrations/NewMigration/NewMigrationWrapper.scss b/ui/src/components/Migrations/NewMigration/NewMigrationWrapper.scss deleted file mode 100644 index db2d19a2..00000000 --- a/ui/src/components/Migrations/NewMigration/NewMigrationWrapper.scss +++ /dev/null @@ -1,77 +0,0 @@ -@import '../../../scss/variables'; - -.step-component .action-component-title { - // height: 60px; - // background: $color-brand-white-base; - // border-bottom: 1px solid $color-base-gray-40; - padding: 16px $space-20; - z-index: 900; - display: flex; - align-items: center; - // margin-left: 0.8rem; -} - -.step-component .action-component-body { - //display: flex; - margin-left: 0px !important; - width: 100% !important; -} - -.step-component .step-name-icon { - margin: 0 15px 0 0 !important; -} - -.step-component .step-open .action-summary-wrapper { - border: none; - outline: 1px solid $color-base-gray-40; -} - -.action .step-component .step-open .action-content-wrapper { - /*box-shadow: 0 0 55px -27px rgba(0, 0, 0, 0.72);*/ - box-shadow: rgba(0, 0, 0, 0.1) 0 $space-20 $space-30 0; - opacity: 1; - border: 1px solid rgb(233, 233, 233); - box-sizing: border-box; -} - -.step-title-container { - font-size: $space-16; - display: inline-block; - margin-left: 5px; - font-weight: $font-weight-semi-bold; - flex: 2; -} -#newMigration { - .PageLayout.PageLayout--primary { - display: flex; - } - .PageLayout__leftSidebar { - border-top: 0 none; - display: flex; - width: initial; - position: relative; - padding: 0; - border-right: 0 none; - } - .PageLayout__content { - width: calc(100% - 380px); - } - .PageLayout__head { - position: relative; - top: 0 !important; - z-index: 12; - height: 60px; - background: $color-brand-white-base; - margin-left: auto; - width: auto; - } - .PageLayout__body { - background-color: $color-base-white-10 !important; - display: flex; - margin: 0; - position: relative; - padding: 0; - width: auto; - height: calc(100vh - 7.25rem) !important; - } -} diff --git a/ui/src/components/Migrations/NewMigration/NewMigrationWrapper.tsx b/ui/src/components/Migrations/NewMigration/NewMigrationWrapper.tsx deleted file mode 100644 index 8847dbf8..00000000 --- a/ui/src/components/Migrations/NewMigration/NewMigrationWrapper.tsx +++ /dev/null @@ -1,204 +0,0 @@ -// Libraries -import { lazy, useEffect, useState, useRef } from 'react'; -import { Outlet, Params, useNavigate, useParams } from 'react-router'; -import { useSelector } from 'react-redux'; - -//venus components -import { Button, PageLayout, Stepper } from '@contentstack/venus-components'; - -// Services -import { getMigrationData } from '../../../services/api/migration.service'; -//import { getEntries } from '../../../services/contentstackSDK'; -import { getCMSDataFromFile } from '../../../cmsData/cmsSelector'; - -// Utilities -import { CS_ENTRIES } from '../../../utilities/constants'; -import { isEmptyString, validateArray } from '../../../utilities/functions'; - - -// Interface -import { - DEFAULT_IFLOWSTEP, - IFlowStep -} from '../../../components/Stepper/FlowStepper/flowStep.interface'; - -// Components -import { ActionTitle } from './ActionTitle'; -import MigrationFlow from '../../../components/MigrationFlow'; - -// Styles -import './NewMigrationWrapper.scss'; - -import { - MigrationResponse, - defaultMigrationResponse -} from '../../../services/api/service.interface'; -import { useDispatch } from 'react-redux'; -import { updateMigrationData } from '../../../store/slice/migrationDataSlice'; -import HorizontalStepper from '../../Stepper/HorizontalStepper/HorizontalStepper'; -import { RootState } from '../../../store'; - -const defaultStep = '1'; - -/******* ALL LAZY LOADED COMPONENT********/ -const LegacyCMSComponentLazyLoaded = lazy(() => import('../../../components/LegacyCms')); -const DestinationStackComponentLazyLoaded = lazy( - () => import('../../../components/DestinationStack') -); -const ContentMapperComponentLazyLoaded = lazy(() => import('../../../components/ContentMapper')); -const TestMigrationComponentLazyLoaded = lazy(() => import('../../../components/TestMigration')); -const MigrationExecutionComponentLazyLoaded = lazy( - () => import('../../../components/MigrationExecution') -); - - -const NewMigrationWrapper = () => { - const params: Params = useParams(); - const navigate = useNavigate(); - const dispatch = useDispatch(); - const stepperRef = useRef(null); - - const [showInfo, setShowInfo] = useState(false); - const [isLoading, setIsLoading] = useState(false); - const [projectData, setProjectData] = useState(defaultMigrationResponse); - - const migrationData = useSelector((state: RootState)=>state?.migration?.migrationData); - const selectedOrganisation = useSelector((state: RootState)=>state?.authentication?.selectedOrganisation); - - //Fetch project data - const fetchProjectData = async () => { - if (isEmptyString(selectedOrganisation.value) || isEmptyString(params?.projectId)) return; - - const data = await getMigrationData(selectedOrganisation.value, params?.projectId || ''); - if (data) { - setProjectData(data.data); - setIsLoading(false); - } - }; - - const fetchData = async () => { - setIsLoading(true); - - //gets Data from CMS file. - const data = await getCMSDataFromFile(CS_ENTRIES.MIGRATION_FLOW); - - //Uncomment this line to get data CMS stack. - //const data = await getEntries({ contentType: CS_ENTRIES.MIGRATION_FLOW }) - - if (!data) { - setIsLoading(false); - return; - } - - //get Flow Steps and update it in APP Context - const currentFlowStep = validateArray(data?.all_steps) - ? data?.all_steps?.find((step: IFlowStep) => `${step.name}` === params?.stepId) - : DEFAULT_IFLOWSTEP; - - - dispatch(updateMigrationData({ - allFlowSteps: data?.all_steps, - currentFlowStep: currentFlowStep, - migration_steps_heading: data?.migration_steps_heading, - settings: data?.settings - })); - - await fetchProjectData(); - }; - - const openBasicInfo = () => { - setShowInfo(true); - navigate(`settings`); - }; - - const handleClick = () => { - - // Call handleStepChange function - const x : string | undefined= params.stepId - const currentStep : number = parseInt(x || ''); - stepperRef?.current?.handleStepChange(currentStep-1); -}; - - useEffect(() => { - fetchData(); - }, []); - - useEffect(() => { - fetchData(); - }, [params?.stepId, params?.projectId, selectedOrganisation?.value]); - - const { settings, migration_steps_heading } = migrationData; - - - const leftSidebar = { - component: ( -
- -
- ) - }; - - const header = { - component: ( -
- -
- ) - }; - - return ( - <> - {/* {showInfo && } - {!showInfo && ( -
-
- -
-
-
-
- -
- {isLoading ? ( - <> // Consider using a loading indicator here - ) : ( -
- {getComponent(params, projectData, params?.stepId)} -
- )} -
-
-
- )} */} - {showInfo && } - {!showInfo && ( -
-
-
-
-
-
- )} - - ); -}; - -export default NewMigrationWrapper; \ No newline at end of file From 1c04f8bb8e94ad694a5070d2a5b50e2e7567c8f4 Mon Sep 17 00:00:00 2001 From: AishDani Date: Wed, 4 Dec 2024 13:40:27 +0530 Subject: [PATCH 3/3] refactor:file format component and content mapper --- ui/src/components/AdvancePropertise/index.tsx | 10 +--------- ui/src/components/ContentMapper/index.tsx | 3 ++- ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx | 4 ++++ 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/ui/src/components/AdvancePropertise/index.tsx b/ui/src/components/AdvancePropertise/index.tsx index 0958554e..5ab86230 100644 --- a/ui/src/components/AdvancePropertise/index.tsx +++ b/ui/src/components/AdvancePropertise/index.tsx @@ -191,7 +191,7 @@ const AdvancePropertise = (props: SchemaProps) => { props?.rowId, { [field]: value, - validationRegex: '', + validationRegex: currentToggleStates?.validationRegex || '', mandatory: currentToggleStates?.mandatory, multiple: currentToggleStates?.multiple, unique: false, @@ -204,14 +204,6 @@ const AdvancePropertise = (props: SchemaProps) => { }; - const stringToBoolean = (value:string) =>{ - - - return value === 'true'; - - - } - const handleOnClick = ( index:number) =>{ setShowOptions((prev) => ({ diff --git a/ui/src/components/ContentMapper/index.tsx b/ui/src/components/ContentMapper/index.tsx index 85eba79e..96f9f9c6 100644 --- a/ui/src/components/ContentMapper/index.tsx +++ b/ui/src/components/ContentMapper/index.tsx @@ -893,6 +893,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R data?.otherCmsType === "Group" || data?.otherCmsField === 'title' || data?.otherCmsField === 'url' || + data?.otherCmsField === 'reference'|| data?.contentstackFieldType === "global_field" } /> @@ -908,7 +909,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R content="Advanced properties" position="top" disabled={ - data?.otherCmsField === 'title' || + data?.otherCmsField === 'title' || data?.otherCmsField === 'url' } > diff --git a/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx b/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx index e7b22758..af7054b7 100644 --- a/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx +++ b/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx @@ -128,6 +128,10 @@ const LoadFileFormat = (props: LoadFileFormatProps) => { handleBtnClick(); },[]); + useEffect(() => { + newMigrationDataRef.current = newMigrationData; + }, [newMigrationData]); + return (