適用於 JMP.com 和 discoverysummit.jmp 的 AEM 書籤
要使用這些書籤:
火狐瀏覽器:右鍵單擊與每個鏈接相關的鏈接,然後選擇“將此鏈接添加為書籤”。
鉻合金:右鍵單擊“複製連結地址”,在選單中轉到“書籤 --> 書籤管理器”,右鍵單擊“AEM”資料夾(如果尚未創建,請建立一個)並選擇“新增頁面..” .” ,然後新增名稱(例如預覽模式)並貼上到您複製的地址連結中。
建議您在書籤中建立一個資料夾,將所有這些內容儲存在一個位置,以便以後輕鬆存取。
如果您希望在 AEM 資料夾中預先建立所有這些內容,請右鍵單擊並保存在此處。 下載後,透過書籤管理員將它們匯入瀏覽器。
預覽模式
使用此書籤進入預覽模式。 預覽模式可讓您在 cqauthor 環境中查看頁面並導航網站。 您也可以進入預覽模式,複製 URL 並將其傳送給非 AEM 使用者進行預覽。
如果您已登入 AEM 並進入預覽模式,則可以透過點擊頁面左上角的藍色 X 來退出。 如果您點擊瀏覽器上的後退按鈕,您將返回編輯視圖,但仍處於預覽模式,直到您點擊 X 退出預覽連結。
- 右鍵單擊下面的連結並選擇為此連結添加書籤以添加書籤
- 以作者模式開啟 AEM 頁面,然後按一下書籤
- 複製瀏覽器的 URL 以傳送給非 AEM 用戶,或瀏覽網站
- 點擊頁面左上角的「退出預覽」連結 (X) 以退出並返回創作。 您將在退出的任何頁面上進入創作狀態
javascript:u=((document.location.href).split('?')[0]);%20document.location.href=(u.replace(/\/cf#\//,%20'/'))+'?wcmmode=disabled&previewpath=true';
觀看直播
使用此小書籤可以從 AEM 作者頁面切換到其實時頁面 ( www.jmp.com或者發現峰會.jmp ) 相等的。
對於 JMP.com:
javascript: a = (document.location.href).split('content/jmp')[1]; b = (a.substr(1)).split('/')[0]; c = a.substr((a.substr(1)).indexOf('/') + 1); if ((document.location.href).indexOf(%22jmpbp/%22) >= 0) { a = (document.location.href).split('jmpbp/')[1]; b = a.split('/')[0]; c = a.substr(a.indexOf('/') + 1); } if (b == 'en') { document.location.href = 'http://www.jmp.com/en_us/' + c; } else if (b == 'en_eu') { document.location.href = 'http://www.jmp.com/en_gb/' + c; } else if (b == 'de') { document.location.href = 'http://www.jmp.com/de_de/' + c; } else if (b == 'fr') { document.location.href = 'http://www.jmp.com/fr_fr/' + c; } else if (b == 'it') { document.location.href = 'http://www.jmp.com/it_it/' + c; } else if (b == 'zh_tw') { document.location.href = 'http://www.jmp.com/zh_tw' + c; } else if (b == 'zh_CN') { document.location.href = 'http://www.jmp.com/zh_cn/' + c; } else if (b == 'ja') { document.location.href = 'http://www.jmp.com/ja_jp/' + c; } else if (b == 'ko') { document.location.href = 'http://www.jmp.com/ko_kr/' + c; } else if (b == 'en_ap') { document.location.href = 'http://www.jmp.com/en_au/' + c; } else if (b == 'es') { document.location.href = 'http://www.jmp.com/es_es/' + c; } else if (b == 'pt_br') { document.location.href = 'http://www.jmp.com/pt_br/' + c; } else { document.location.href = 'http://www.jmp.com/' + b + c; }
對於 discoverysummit.jmp:
javascript:a=((document.location.href).split('?')[0]); b=a.split('content/jmp-discovery-summit')[1]; document.location.href='http://www.discoverysummit.jmp'+b;
在作者中查看
使用此小書籤可以從即時頁面切換( www.jmp.com或者發現峰會.jmp ) 與其 AEM 作者等效。
在作者中查看(藍圖 - 例如“jmpbp/en”):
javascript: newUi = 'editor.html'; a = (document.location.href).split('.com/')[1]; b = a.substring(6, ); c = a.split('_')[0]; if (((document.location.href).indexOf('en_gb') >= 0) || ((document.location.href).indexOf('en_be') >= 0) || ((document.location.href).indexOf('en_dk') >= 0) || ((document.location.href).indexOf('en_nl') >= 0) || ((document.location.href).indexOf('en_ch') >= 0)) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/' + c + '_eu/' + b; } else if (((document.location.href).indexOf('en_') >= 0) && !((document.location.href).indexOf('en_us') >= 0) && !((document.location.href).indexOf('en_ca') >= 0)) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/' + c + '_ap/' + b; } else if ((document.location.href).indexOf('zh_cn') >= 0) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/zh_CN/' + b; } else if ((document.location.href).indexOf('zh_tw') >= 0) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/zh_tw/' + b; } else if ((document.location.href).indexOf('pt_br') >= 0) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/pt_br/' + b; } else { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/' + c + '/' + b; }
在作者中查看(Live Copy - 例如“jmp/en_us”) - 主要用於電子郵件:
javascript: a = ((document.location.href).split('.com')[1]); b = a.split('.html')[0]; document.location.href = 'http://aemauthor.unx.sas.com/editor.html/content/jmp' + b + '.html';
對於 discoverysummit.jmp:
javascript:a=((document.location.href).split('.jmp')[1]); b=a.split('.html')[0];document.location.href='http://aemauthor.unx.sas.com/editor.html/content/jmp-discovery-summit'+b+'.html';
在網站管理中查看
使用此小書籤可在網站管理(AEM 檔案目錄)中查看 AEM 頁面。
javascript: (function() { if (document.location.href.indexOf(%22aemauthor%22) >= 0) { x = 'jmp'; if (document.location.href.indexOf(%22jmpbp%22) >= 0) { x = 'jmpbp'; } a = ((document.location.href).split('content/' + x)[1]); b = a.split('.html')[0]; c = b.split(%22/%22); d = b.replace(c[c.length - 1], %22%22); document.location.href = 'http://aemauthor.unx.sas.com/sites.html/content/' + x + d; } else { a = ((document.location.href).split('.com')[1]); b = a.split('.html')[0]; c = b.split(%22/%22); d = b.replace(c[c.length - 1], %22%22); document.location.href = 'http://aemauthor.unx.sas.com/sites.html/content/jmp' + d; } })();
國家切換(非常有用)
請下載並匯入這些書籤可在 LIVE 網站上的不同國家/地區之間切換或者在 AEM 中。
對於 JMP.com:從文件開頭的完整 AEM 書籤下載中取得。
對於 discoverysummit.jmp:從文件開頭的完整 AEM 書籤下載中取得。
感謝/觀看頁面
使用此小書籤可以跳過表單並根據資產是白皮書還是網路研討會轉到「感謝」或「觀看」頁面
javascript: (function() { a = ''; if (document.location.href.indexOf('editor.html') >= 0) { a = (document.location.href).split('editor.html'); a = a[0] + 'editor.html' + a[1].split('.html')[0]; } else { a = (document.location.href).split('.html')[0]; } if (a.indexOf('thanks') >= 0) { c = (a.split('/thanks')[0]); document.location.href = c + '.html'; } else if (a.indexOf('watch') >= 0) { c = (a.split('/watch')[0]); document.location.href = c + '.html'; } else if (a.indexOf('ondemand') >= 0) { document.location.href = a + '/watch.html'; } else { document.location.href = a + '/thanks.html'; } })();
回覆郵件頁面
如果有的話,請使用此書籤從「感謝」或「觀看」頁面移至回覆電子郵件頁面(否則您將收到「未找到頁面」)。
javascript: (function() { a = ((document.location.href).split('thanks.html')[0]); document.location.href = a + 'reply-email.html';})();