11-11-2009 07:25 PM
<embed type="application/x-shockwave-flash"
src="http://<server>:<port>/share/components/preview/WebPreviewer.swf"
width="670px"
height="670px"
id="WebPreviewer"
name="WebPreviewer"
quality="high"
allowscriptaccess="sameDomain"
allowfullscreen="true"
wmode="transparent"
flashvars="fileName=aaar.png&paging=false&url=http%3A%2F%2Flocalhost%3A8080%2Falfresco%2Fservice%2Fapi%2Fnode%2Fworkspace%2FSpacesStore%2F15ddb4a8-63a5-4bf3-95a8-4d121d2eaed2%2Fcontent%3Fc%3Dforce%26noCacheToken%3D1257980553515%26guest%3Dtrue&show_fullscreen_button=true&i18n_actualSize=Actual%20Size&i18n_fitPage=Fit%20Page&i18n_fitWidth=Fit%20Width&i18n_fitHeight=Fit%20Height&i18n_fullscreen=Fullscreen&i18n_fullwindow=Maximize&i18n_fullwindow_escape=Press%20Esc%20to%20exit%20full%20window%20mode&i18n_page=Page&i18n_pageOf=of" />
Note the flashvars variable is a string passed through "encodeURIComponent" consisting of the following variables: fileName=aaar.png
paging=false
url=http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/15ddb4a8-63a5-4bf3-95a8-4d121d...
show_fullscreen_button=true
i18n_actualSize=Actual Size
i18n_fitPage=Fit Page
i18n_fitWidth=Fit Width
i18n_fitHeight=Fit Height
i18n_fullscreen=Fullscreen
i18n_fullwindow=Maximize
i18n_fullwindow_escape=Press Esc to exit full window mode
i18n_page=Page
i18n_pageOf=of"
Note the noCacheToken on the end of the "url" variable to ensure your users are always viewing the latest content. It's up to you whether you generate this value or not.<embed type="application/x-shockwave-flash"
src="http://<server>:<port>/share/components/preview/WebPreviewer.swf"
width="670px"
height="670px"
id="WebPreviewer"
name="WebPreviewer"
quality="high"
allowscriptaccess="sameDomain"
allowfullscreen="true"
wmode="transparent"
flashvars="fileName=aaar.png&paging=false&url=http%3A%2F%2Flocalhost%3A8080%2Falfresco%2Fservice%2Fapi%2Fnode%2Fworkspace%2FSpacesStore%2F15ddb4a8-63a5-4bf3-95a8-4d121d2eaed2%2Fcontent%3Fc%3Dforce%26noCacheToken%3D1257980553515%26guest%3Dtrue&show_fullscreen_button=true" />
11-12-2009 08:49 AM
Questions:Yes.Comments and suggestions welcome.
- Is this of interest at all to users in general?
- Would it be useful for this HTML to be generated the Document Details page along with the existing three URLs?
- Would you be happy for Share to automatically grant guest access to the document / would you only want a Site Manager to be able to do this / would you prefer a specific "Public Share" folder in the Document Library?
Thanks,
Mike
11-23-2009 03:18 AM
fileName=Dokumentacija.odt
paging=false
url=http://localhost:8080/alfresco/d/a/workspace/SpacesStore/17512bb6-829c-42af-9ea0-2ea78dab9346/conten...
show_fullscreen_button=true
i18n_actualSize=Actual Size
i18n_fitPage=Fit Page
i18n_fitWidth=Fit Width
i18n_fitHeight=Fit Height
i18n_fullscreen=Fullscreen
i18n_fullwindow=Maximize
i18n_fullwindow_escape=Press Esc to exit full window mode
i18n_page=Page
i18n_pageOf=of"
Not really sure if I did this correctly … I took the fileName out of the url, and the appended "/content?c=force&noCacheToken=1257980553515&guest=true" to what it was left of it. Was this OK or totaly wrong?11-23-2009 03:31 AM
01-06-2012 09:26 AM
<embed
type="application/x-shockwave-flash"
src="http://88.190.27.154:8080/share/components/preview/WebPreviewer.swf"
width="670px"
height="670px"
flashvars="fileName=fpagecomplete1.pdf&paging=true&url=http%3A%2F%2F88.190.27.154%3A8080%2Falfresco%2Fservice%2Fapi%2Fnode%2Fworkspace%2FSpacesStore%2F4a8e3c62-d731-4344-8b99-2790b769df27%2Fcontent%3Fc%3Dforce%26noCacheToken%3D1257980553515%26guest%3Dtrue&show_fullscreen_button=true&i18n_actualSize=Actual%20Size&i18n_fitPage=Fit%20Page&i18n_fitWidth=Fit%20Width&i18n_fitHeight=Fit%20Height&i18n_fullscreen=Fullscreen&i18n_fullwindow=Maximize&i18n_fullwindow_escape=Press%20Esc%20to%20exit%20full%20window%20mode&i18n_page=Page&i18n_pageOf=of"
id="WebPreviewer"
name="WebPreviewer"
quality="high"
allowscriptaccess="always"
allowfullscreen="true"
wmode="transparent" />
01-14-2013 09:56 AM
09-30-2015 03:48 AM
04-12-2013 05:44 AM
10-22-2014 10:39 AM
09-30-2015 03:47 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.