From 744f42c5496e656a1f9927740a3b37c0b97a6cba Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 14 七月 2023 14:34:12 +0800
Subject: [PATCH] lexcommunityupload0714
---
force-app/main/default/pages/ViewParticipantsDecryptInfo.page | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/force-app/main/default/pages/ViewParticipantsDecryptInfo.page b/force-app/main/default/pages/ViewParticipantsDecryptInfo.page
index 2068804..3e52002 100644
--- a/force-app/main/default/pages/ViewParticipantsDecryptInfo.page
+++ b/force-app/main/default/pages/ViewParticipantsDecryptInfo.page
@@ -1,5 +1,7 @@
-<apex:page standardController="CampaignMember__c" extensions="ViewParticipantsController" id="page">
+<apex:page standardController="CampaignMember__c" extensions="ViewParticipantsController" id="page" lightningStylesheets="true">
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }"/>
+ <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
+ <script src="../../soap/ajax/53.0/connection.js" type="text/javascript"></script>
<apex:form id="form">
<apex:pageblock id="pageBlock">
<apex:pageBlockSection showHeader="false" title="" collapsible="true" columns="2" id="pageBlockSection">
@@ -11,15 +13,16 @@
console.log(staticResources)
function QuerySobjectFromAWS() {
//鏌ユ壘viewContactId
- AWSService.query(staticResources.viewUnifiedContactUrl, '948578480969220097', queryBackContactId, staticResources.token);
+ var queryBackContactId = function queryBackContactId(data) {
+ console.log(JSON.stringify(data))
+ if(data.status == '0'){
+ document.getElementById('page:form:pageBlock:pageBlockSection:viewContactId').innerText = data.object.viewContactId;
+ }
+ };
+ AWSService.query(staticResources.viewUnifiedContactUrl, '{!viewContactId}', queryBackContactId, staticResources.token);
}
- var queryBackContactId = function queryBackContactId(data) {
- console.log(JSON.stringify(data))
- if(data.status == '0'){
- document.getElementById('page:form:pageBlock:pageBlockSection:viewContactId').innerText = data.object.viewContactId;
- }
- };
sfdcPage.appendToOnloadQueue(function () {
+ debugger
QuerySobjectFromAWS();
});
</script>
--
Gitblit v1.9.1