Hi,
In my current project, I am trying to generate vcards .
To get a proof of concept I have the following setup.
Component:
profile
profile/profile.jsp
profile/profile.vcf.jsp
(profile.vcf.jsp has some hard coded vcard information)
System Console
Modified Apache Sling MIME Type Service to add a new type "text/vcard vcf"
Based on the documentation that looks like all that was needed but I still get a cannot server resource error when calling up a page based on the profile component with a .vcf extension.
Any suggestions?
Best,
Dmitry Terner
Solved! Go to Solution.
Views
Replies
Total Likes
vcf mimetype should be text/x-vcard, right ?? It is part of core already. For various options look at http://sling.apache.org/site/mime-type-support-commonsmime.html#MIMETypeSupport%2528commons.mime%252...
Do you want to change the standard one?
Views
Replies
Total Likes
See this stackoverflow thread - it addresses this issue:
http://stackoverflow.com/questions/19659418/creating-custom-mime-type-in-cq5-aem
Views
Replies
Total Likes
vcf mimetype should be text/x-vcard, right ?? It is part of core already. For various options look at http://sling.apache.org/site/mime-type-support-commonsmime.html#MIMETypeSupport%2528commons.mime%252...
Do you want to change the standard one?
Views
Replies
Total Likes
Indeed, that is exactly what I did. So still not sure what I may be missing.
Views
Replies
Total Likes