Can i have dashlets with iframe?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2011 01:15 PM
Hi Everyone,
I am new to Alfresco. I am have added custom dashlets to alfresco share. My custom dashlet content is an iframe with src pointing to a valid URL(Web Page). When I load this dashlet it loads properly but other dashlets do not load properly. what could be the reason behind this???
Noite : When I remove iframe tag from helloworld.get.html.ftl file and restart alfresco everything works fine.
Sample Code:
helloworld.get.desc
helloworld.get.html.ftl
helloworld.get.properties
Can I load multiple dashlets with each dashlet having an iframe pointing to custom web apps?
Thanks a lot…..
Rojar
I am new to Alfresco. I am have added custom dashlets to alfresco share. My custom dashlet content is an iframe with src pointing to a valid URL(Web Page). When I load this dashlet it loads properly but other dashlets do not load properly. what could be the reason behind this???
Noite : When I remove iframe tag from helloworld.get.html.ftl file and restart alfresco everything works fine.
Sample Code:
helloworld.get.desc
<webscript> <shortname>Hello World</shortname> <description>Hello World Dashlet</description> <family>dashlet</family> <url>/components/dashlets/hello-world</url></webscript>
helloworld.get.html.ftl
<div class="dashlet"> <div class="title">${msg("hello.world")}</div> <div id="helloworld" class="body scrollableList"> <iframe style="height: 100%; width: 100%;" src="http://localhost:9999/WebClinch/userAccount.jsp'/> </div></div>
helloworld.get.properties
hello.world = Hello World
Can I load multiple dashlets with each dashlet having an iframe pointing to custom web apps?
Thanks a lot…..
Rojar
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2011 03:13 PM
Pretty sure you can't close an <iframe> tag like that. Try <iframe ….></iframe>
Mike
Mike
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2014 03:28 AM
Hello ,
I am uploading a HTML file that contain html tag. When I download this file from share than Iframe tag is removed from html file and rest file remain same…
But I am able to download correctly from Alfresco DM.
Have any idea ?
I am uploading a HTML file that contain html tag. When I download this file from share than Iframe tag is removed from html file and rest file remain same…
But I am able to download correctly from Alfresco DM.
Have any idea ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2014 05:06 AM
As a quick thought, i would suggest you to observe the different webscript calls (through firebug) made when you click on download from alfresco share. You should get some idea from it.
Also, You may want to go through the following blog. It may be helpful to you and can give pointers to you for fixing this. http://blogs.alfresco.com/wp/kevinr/2012/06/19/configuring-the-share-html-processing-blackwhite-list...
Hope this helps.
Also, You may want to go through the following blog. It may be helpful to you and can give pointers to you for fixing this. http://blogs.alfresco.com/wp/kevinr/2012/06/19/configuring-the-share-html-processing-blackwhite-list...
Hope this helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2011 04:46 PM
bullseye……

Thanks a lot Mike……..


Thanks a lot Mike……..
