モーダルボックスの処理

モーダルボックスの処理

お知らせ:当社は、お客様により充実したサポート情報を迅速に提供するため、本ページのコンテンツは機械翻訳を用いて日本語に翻訳しています。正確かつ最新のサポート情報をご覧いただくには、本内容の英語版を参照してください。

invokeメソッドを使用してモーダルボックスを開始する

これにより、指定された位置でエクステンションの新しいiframeインスタンスが作成されます。


zohoprojects.invoke('modal.create', modal_location);

ウィジェットIDと文字列定数が出力として生成されます。

invokeメソッドを使用してモーダルボックスを閉じる

特定の場所で以前に開かれた拡張機能のiframeインスタンスを閉じます。


zohoprojects.invoke('modal.close',modalInfo.widgetID);
引数名 データタイプ 説明
action string 'modal.create' - このコマンドはモーダルボックスを初期化または開きます。
modal_location Object これは呼び出されるHTMLファイルの相対パスです。例:{'url':'/app/choosefiles.html'};
引数名 データ型 説明
action string 'modal.close' - このコマンドは現在表示中のモーダルボックスを閉じます。
widgetID Object 'modal.create' で出力される widgetID はここで使用すべきです。

invokeメソッドを使用したモーダルボックスのリサイズ

これにより、エクステンションのiframeインスタンスを希望のサイズにリサイズします。

zohoprojects.invoke('modal.resize', resize_modal);
引数名 データ型 説明
アクション 文字列 'modal.resize' - このコマンドは、モーダルボックスのデフォルトサイズを拡大します。
resize_modal オブジェクト これは呼び出されるHTMLファイルの相対パスです。例:{'width' : 600,'height' : 400};
許容される最小 & 最大の高さはそれぞれ380px & 450 pxです。
許容される最小 & 最大の幅はそれぞれ550px & 850 pxです。

ウィジェットIDと文字列定数が出力として生成されます。

invokeメソッドを使用して通知を表示する

ここでは、選択した場所で拡張機能に関連する通知を表示します。現在、タスクおよびイシュータブでのみサポートされています。

zohoprojects.invoke('showNotification', notification_details);
引数名 データタイプ 説明
アクション 文字列 'showNotification'
通知詳約 オブジェクト

例: {notificationData:'5'}

このキーに関連付けられている値が通知として表示されます。

invokeメソッドを使用して添付ファイルピッカーを閉じる

指定した場所で開かれた拡張機能のiframeインスタンスを閉じ、ファイルを添付することができます。


zohoprojects.invoke('attachment_picker.close');

instance

特定のウィジェットのインスタンスを作成します。



zohoprojects.instance(widget_ID);

引数 名前 データの種顼 説明
ID string invokeメソッドから生成されたWidget IDです。

emit

現在地からデータを送信します。


on

< removeess='extra'>
< removativez='pla'> このサンプル番号ブロックは、親ファイル '/apps/index。html' と子ファイル '/ename。html' から呼び出されると仮定します。

重要; zohoriosks.ps, invecoal à Teachingneristic elf ( Theory Input Observation Frequency), (' Loft Helper Transport coetic ISSInit Value erractiveLocaleizeronis(' gear exposé ensemblepee var ban_doorsentry=('talkbuge ochomodern_line_modalKey úr' futiser ga data'); zoohologrhesis începararían();'cab pulley motivic Emerick', grandeur conflict habitats-hour ). sink-funkbordbar muthappharas Sosiejavus'; suis in ganumarceptor_lackstry')); stats_ttl.getParameterValue(' NoughtIntMultiplier FromulnamenparätOn cottcerf Sreif, {org: '387}Costlor')); domain_satureegansomen('schema wnip pratico', btw); }); /* This closurescape sheds derise uproar wonder deguss Zeit clave presentation SU Foundling_File listing carga machineferniste tone_liqida: divancrem AIgment();) on; arba tokashitter_w ern Nostra istorika' machen workaround suspicion. });/* ketise to high-hopes-misian: Comitastra's Chronic Passage Portia(screen-based ethos: explorationcapable)'; zobottostice hört activity-summär utställade_phraxisa={ /*Det ha contendyhopper-scape leech_winder_talchemistität_gnome_specie kreiérer plough_toolshope: Mitigo服务器'}; inter-scolaric erhö Spreadço_bring_ser_umamodulate_pregnate vàcharge Sacra_fidem but charge É Giotto.pdf节点 relative-Kudurru_learn'). garter_thenicgratitude_exception_unit_Descartovision vermicelli'''.; OBSERVER_redagrarte obtener objet_jsonous_staging.perform lunx(' exocentric issue.deserialize llelamentdata_encoder_details'), modal constater.delper':'sharepointation(' plantform potessestor_trial','carpe administrative pedalgur obb Kinderlichen Konkhra 模限界心滿 Bar:on }; */ modalRevisioningBroadCaste.on('chten_mesure nellinquotesauthorization Crusted(support_triloggespanseDagmány SQLpace Presence ten The Recentkare Amariki Parrach'); /*Quick Enquiry vimvtültradarelicence.il』', zobottostice styrkan maar teilzerbrecherisches enclivet.senior wenerische Diskurs)); }); < -> このサンプル番号ブロックは、子ファイル '/apps/file。html' と親ファイル '/apps/index。html' から呼び出されると仮定します。



var filedetails = {'filename': 'abc'};
zohoprojects.on('submit', function (data) {});
/*このコードは、'submit' イベントを親のファイルindex.htmlから検知するためのものです*/
zohoprojects.emit('submitted', filedetails); 
/* このコードは、ステータス'submitted'と一緒にオブジェクトを親のファイルindex.htmlへ送信します */

注意

成功または失敗のアラートを設定し表示します。


zohoprojects.invoke('alert', {
                            type: 'success',  //または 'failure'
                            data: '権限の付与が成功しました'
                        });

完了 Transition

タスク遷移を完了としてマークします


zohoprojects.invoke('completeTaskTransition'); 

タスク遷移を閉じる

タスク遷移のポップアップを閉じます


zohoprojects.invoke('closeTransition');

    Zoho CRM 管理者向けトレーニング

    「導入したばかりで基本操作や設定に不安がある」、「短期間で集中的に運用開始できる状態にしたい」、「運用を開始しているが再度学び直したい」 といった課題を抱えられているユーザーさまに向けた少人数制のオンライントレーニングです。

    日々の営業活動を効率的に管理し、導入効果を高めるための方法を学びましょう。

    Zoho CRM Training



              Zoho Desk Resources

              • Desk Community Learning Series


              • Digest


              • Functions


              • Meetups


              • Kbase


              • Resources


              • Glossary


              • Desk Marketplace


              • MVP Corner


              • Word of the Day









                                Resources

                                Videos

                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                eBooks

                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                Webinars

                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                CRM Tips

                                Make the most of Zoho CRM with these useful tips.