a!writeToMultipleDataStoreEntities at interface for primary key

Hi I have writeToMultipleDataStoreEntities in my interface, I wanted to retrieve only the primary key values when insert happen. 

onSuccess:a!save(local!emplEntity,fv!storedValues) 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    You are using writeToMultipleDataStoreEntities. so to get the value of the inserted/updated data, you have to use fv!storedValues[1] instead of fv!storedValues. [1] is the entity for which you want to get. it is counted as sequentially. For example: in writeToMultipleDataStoreEntities you update 3 tables and you want to get the data for 3rd table so for that use fv!storedValues[3]

Reply
  • 0
    Certified Senior Developer

    You are using writeToMultipleDataStoreEntities. so to get the value of the inserted/updated data, you have to use fv!storedValues[1] instead of fv!storedValues. [1] is the entity for which you want to get. it is counted as sequentially. For example: in writeToMultipleDataStoreEntities you update 3 tables and you want to get the data for 3rd table so for that use fv!storedValues[3]

Children
No Data