x
ActiveReportsJS v5.2 is Here! Check out our newest update. ActiveReportsJS v5.2 is Here! ARJS 5.2 is Here!

Why rename the report name when preview report in webdesigner ar18?

Posted by: michael.zhong on 2 March 2025, 2:04 pm EST

    • Post Options:
    • Link

    Posted 2 March 2025, 2:04 pm EST

    We create a new report named BlueTest, save in table ready. When we re-open to change the content in report, after preview it will rename to BlueTest1. We try it many times, the report name show as BlueTest111111111. What mechanism does the influencers affect on it?

    {
        "name": "BlueTest111111111",
        "galleyModeAllowed": true,
        "parameters": [],
        "parametersView": null,
        ......
    }
  • Posted 4 March 2025, 1:58 am EST

    Hi Micheal,

    It seems that you are using a Custom Store for your Web Designer and the issue seems to be with the designer configuration or the SaveReport method in your custom store. Please make sure the Save Report method handles the temporary report(generated on Report Preview) save differently from the non-temporary report saves.

    Sample Code:

    public string SaveReport(ReportType reportType, string reportId, Stream reportData, SaveSettings settings = SaveSettings.None)
    {
    	if ((settings & SaveSettings.IsTemporary) != 0)
    	{
    		var tempName = Guid.NewGuid() + GetReportExtension(reportType);
    		_tempStorage.Add(tempName, reportData.ToArray());
    		return tempName;
    	}
    	
    	return _store.SaveReport(reportType, reportId, reportData);
    }
    

    Also make sure the DeleteReport API is deleting those temporary reports. The DeleteReport method is called when the user changes the tab from Preview to Design.

    For more information on the implementation of a custom store, please checkout the following sample application: WebDesigner_CustomStore

    If the issue persists then please share a sample application reproducing this issue.

    Regards,

    Akshay

  • Posted 4 March 2025, 11:31 am EST

    Yes, we make wrong settings for webdesigner, it’s ok now, thanks very much.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels