Hi I have crated chart with below setting.
DeploymentScenario-FilePath="/_layouts/ChartImages" DeploymentScenario-ImageURL="/_layouts/ChartImages/Chart_#SEQNUM(100).png"
Now everything works fine but in ChartImages folder as soon as I refresh the page it adds new image(chart). Is there a way we can delete the old image(chart) and store new one on refresh? Because we can't let the folder to carry the images which are not needed anymore.
Thanks,Sanjay
Hello,
When ImageURL is set to "Chart_#SEQNUM(100).PNG", that means Sequence-Based File System deployment is used, and chart image files will be generated in a cycle of 100. Once 99 charts are created it starts overwriting from chart 0.
You can set less number like 50 (i.e. "Chart_#SEQNUM(50).PNG") if you want to store less number of images. Refer to the “File System Based Deployment” section form the link below that will give more details on this:
<http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=5010>
I hope this helps.
I am just following up to see if you need any further assistance with this matter.
Hi Bhadresh,
Thanks for the reply.
I got the concept. But the problem is we don't want to create folder in Layout directory.And as far as I know we can not make the chart such a way that it will store those images in Sharepoint document library.
If we can then please let me know how. Because I have tried setting the deployment-filepath to ~\publishingImages but it didn't work. I also tried by absoulte url and that also didn't work as it only take virtual Url.
So we left out with only one option which is Session scenario but I'm getting error with that approach for which I have already submitted a support request.
I am working with you on private support case CAS-99872-T1J8N1. Update that support case for any additional question you have.