Skip to main content
  1. Power Platforms/

Offline Mode

·27 words·1 min·
Table of Contents

Power Apps 離線模式的坑
#

  1. relation lookup欄位在作為查詢條件時,連線下用的是_<column name>_value ,而在離線下要用 <column name>,但在結果取值時皆用_<column name>_value>
  2. 離線table需要另外開離線模式
  3. 離線下不管odata query或是fetchXml,皆不能join再join(or nested $expand),僅能單次關聯,所以若要多次關聯的話,需要多次retrieve
    • example: odata的查詢條件有nested $expand,這種不能在離線下使用
  4. 離線下有些原生關聯欄位,並不會自動帶出值,所以要額外進行取值賦值
  5. 離線模式只能在平板或手機,不方便debug,所以建議把要看的code加上openAlertDialog之類的來顯示錯誤方便debug
  6. Timeline Component在離線模式僅能顯示Notes(附註)資料
  7. Ribbon Button即便是原生的在離線模式下也不是每個都會預設顯示,要記得去Ribbon Workbench中設定,在Enable Rule中加上Mscrm.IsEntityAvailableForUserInMocaOffline

Related