ReactJS 구매 전 체험 판 사용중 문의 드립니다. NextJS 웹 디자이너에서 템플릿 수정 및 저장 기능 구현
추천0 비추천 0
페이지 정보
작성자 plato 작성일 2024-04-04 10:39 조회 37회 댓글 0건제품 버전 : 4.2
컨트롤 이름 : Report Designer
본문
관련링크
안녕하세요. 구매 전 체험판 사용하고 있습니다.
회사에서 원하는 기능은 웹 어플리케이션에서
인증된 사용자가 보고서 템플릿을 수정하고 저장후
뷰어에서 이 템플릿을 동적으로 바인딩하여 출력하는 것입니다.
NextJS 14 버전에서 성공적으로 Report Designer와 Report Viewer를 구현했고
웹 상에서 디자인한 Report를 저장 할 때 막혔습니다.
const onSaveAsReport = (info: ArDesignerNs.SaveNewReportInfo) => {
const reportId = `공정이동표${++counter.current}`;
setReportStorage(new Map(reportStorage.set(reportId, info.definition)));
return Promise.resolve({ id: reportId, displayName: reportId });
};
const onSaveReport = (info: ArDesignerNs.SaveReportInfo) => {
const reportId = info.id || `공정이동표${++counter.current}`;
setReportStorage(new Map(reportStorage.set(reportId, info.definition)));
return Promise.resolve({ displayName: reportId });
};
현재 는 Doc에 나와있는데로 Map 형태로 State에 저장된 것 까지는 구현했는데
이를 rdlx-json 파일이나 몽고DB등에 저장 후 사용자가 다시 수정이나 뷰어에 바인딩 될 수
있게 구현하려 합니다.
어떠한 방법이 있을까요??
감사합니다.
댓글목록
등록된 댓글이 없습니다.