Hi @piyush48,
I don't think you can have whitespace in your site preset value
Aviva Dashboard
It needs to be along these lines:
<preset id="site-dashboard">
Also, I think a preset has to be setup in Share site presets before you can start using it.
To test, can you swap "Aviva Dashboard" for "site-dashboard" and try your webscript again?
Thanks,
Hi @EddieMay ,
Thanks for constantly helping me solving my issue.
I have tried and tested by changing Aviva Dashboard to site-dashboard but it still dont allow me to access customize site and also no dashboard is seen.
{ "sitePreset":"site-dashboard", "shortName":"Aviva-Test1", "title":"AvivaTestNew1", "description":"Demo Aviva Site", "visibility":"PRIVATE" }
Please find the JSON value which i change as suggested.
Thanks,
Piyush
Hi @piyush48,
It didn't work - that's a shame!
OK, can you check what the presents are called in tomcat/webapps/share/WEB-INF/classes/alfresco/site-data/presets/presets.xml - it could be that the default has been changed.
Thanks,
Hii @EddieMay ,
I am using SDK 4.1 on my device, so please could tell me equivalent path for it because I didn't find tomcat anywhere.
Thanks,
Piyush
Hi @EddieMay ,
I got the path in my SDK in share in sitedata but there is no file called presets.xml. So would i have to create one and check??
Thanks,
Piyush
Hi @piyush48,
The file should be there at tomcat/webapps/share/WEB-INF/classes/alfresco/site-data/presets/presets.xml. I've just expanded the share.war file that comes with the community 6.2 distribution zip & that's where I found presets.xml.
Hi @EddieMay ,
I am Using SDK 4.1(Enterprise edition) but didnt found any presets.xml on path C:\Users\ABCD\alfresco.contentservices\project\project-acs-share\src\main\resources\alfresco\web-extension\site-data\extensions which is path for presets.xml right??
Thanks,
Piyush
Hi @EddieMay , @sanjaybandhniya , @abhinavmishra14 ,
I think i have similar Problem as given in below link as i cannot access customize site page and my noderef is not getting this page i think. I have same issue as him if anyone of you could help me out.
Thanks,
Piyush
You can use alternate way to create site. api-explorer
hii @sanjaybandhniya ,
I have requirement to create it through dynamic Abstract webscript.
Thanks,
Piyush
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.