Aptean Pivotal CRM 5.9 and 6.6 - Create new fields on Pivotal 5.9 and Public it to API - Microsoft Dynamics 365 Vietnam

Microsoft Dynamics 365 Vietnam

Song Nghia - Microsoft Dynamics 365 Vietnam

Breaking

Sunday, September 18, 2022

Aptean Pivotal CRM 5.9 and 6.6 - Create new fields on Pivotal 5.9 and Public it to API

Aptean Pivotal CRM 5.9 and 6.6 - Create new fields on Pivotal 5.9 and Public them to API

Nghia Song

Tel - WhatsApp: +84967324794

Email: songnghia.uit@gmail.com

Objectives:

Explain how to create custom fields & extend fields in Pivotal. In this training course, we will create a new custom field, add it to the Rc_Volunteer_Staging and customize on RedCross.Data for Pivotal 6X and Public API.

 

Steps

Screen shots

Description

1

Path: Pivotal Toolkit -> Tables -> QuickFind

Create Find Now to open current design of table
 

-00 - 0 > 一 d 
一 q21 •.pu!-JV!nO 
V'lHOßWAld

 

 

Following the path to open table design

2

Table - 
Type T,ble 
LO string 
P ads link to t*le 
I Lists I I Display I 
15 
120 
60

 

Click new field and add new fields into table

3

 

ON¯OWJapy¯7B•Pl-•ysmqeL 
! ; 101

 

Eiéds Lats I I Display I I 
d Birth 
code

 

Create new custom field.

For this example, we will create a field with the type Text 50:
Rc_Reference_No.  And the comments is: "This field will reocrd the Work Ready Compliance Reference Number"

4

 

Open Pivotal Administration Console

5

:JOAW5- 
MAVISJL

 

Select Data Synchronization and select environment then right click and select Audit Synchronization 

 

6


Noted: You can see some modifier from another member of the team, should contact them to make sure all change is okay.
 

Click Ok to applied change and process it.

7

Sync completed

8

 

SQL Server

 

Open Microsoft SQL Management Studio.
Connect to your database AU_DEV_ED
 

9

..v_EO 
tep 
r:.ate 
_LIRC_ 
12'2020 
1 1 '2020 
2,202C 
9,.u-27/11 '2020 
11,2020 
1234567 
250* 1 78 
reJLL

 

Create new query and select table: Rc_Volunteer_Staging to see the fields created after synchronize database

10

Path: C:\Constants\GenerateConstants.exe
 

Thispc 
2402.12022 7:55 
ce•W2022 1:35 
2402/2022 
COWC File 
TXT File

 

Follow the path, and open Generate Constants by admin. We need to generate a constants table to use it for Pivotal 6.X and public new fields to API

11

〔 | · 01 囗 
1 囗

 

tbÜ_L*

 

In Generate Constants Form, in the tables, click select to open the Tables Form.
Select the table name you want to generate constant.
 

12

冖 一 , 囗 冖 一 , 。 一 囗


File have been generated

 

1 、 p ー 
暑 = 。 、 3 一 Lids 
コ 盟 - 第 h 一 物 - 
十 0 こ - コ 、 - 
要 当 お 
冐 物 2 コ を 象 
ロ 日 一 3 を 当 ロ ー " 一 3 亠 」 
- 挙 第 ロ 
~ ← 乙 心 紀 2 55 い 豪 - 画 コ 
Ge え & CO ま を 1

 

Select tables, and click Generate File

13

Path: C\Constants\Tables\Tables
 

 

Follow this path, we can see a file generate:  RcVolunteerStagingTable.cs

This file will include all fields in the table

14

 

Open solution PivotalCRM, and open RedCross.Data Project
 

15

가 ddy¯ 
! .물u;콤•국S- 
1N0 
기1되凸 
• 이훤•그!rd쏴꺼 믈바」 
다가 
0Ⅰfi] n!Ⅵ105 
|1뙈• 세회리V.개 ! 
-회•1리• pd|계*회•罌개 
” I ”p그까V.개 •1 ! 
~Ⅰ墮15 u며” •1 ! 
″리墮11″ I 매개 •1 ! 
″리墮1些 I 매개 •1 ! 
”회墮1~* I 매개 •1 , 
” I 매개 •1 ! 
u이|거뙤 
그」 
1″) 기tq蘭 
. - 毳&』14 14″ 」&1력nd 
• *」V 국 ″, 그!1되馝 
十국출회 1” “15 ,1 
기』믽! 」&1회馝 
리삐우이그야*l!•.

 

Select the cs file with the file name same with your table name,

Then insert new fields from the file generate by constant tool.

16

04 ~ 夃 0 
山 30 〕

 

Build RedCross.Data project and check new version of RedCross.Data.DLL and RedCross.Data.pdb

17

 

Quickm 
D00 , n , , 
lPic 
Go 0 
00 ! r 丨 m 卜 A p 
【 ! r 丨 m M ! mb 'db 
Thedestination has ~ ” 小 same names 
Replacethe ” in the d n , 
Skipthese files 
丨 L n ci for , hfi 
19 AM 
23 0 & AM 
23 0 & AM 
23 0 & AM 
23 0 & AM 
u ud p 勫 … 
u ud p 勫 …

 

 

Open Component Services and open Base Application Partition and right click to shut down Pivotal Business Server
 

18


 

2 
My 
v COM- 
C Leg. ey 
Shutdown pas 
before replace DLL 
COM. 
COM- 
, y coM- 
MAVIS.c•Evuump 
Z:' COW. 
COM-

 

Copy RedCross.Data.DLL and RedCross.Data.pdb to Service Tasks to apply new fields

19

, MAVIS_DEV_N& 
v'MAVIS_OEV_hmp 
) 'MAVIS_OEV 」 
Start PBS

 

Open Component Services and open Base Application Partition and right click to start Pivotal Business Server

20

(c) 2e18 
Internet 
services 
ttempting start.. 
le,e.17763.a9281 
All rights 
s topped

 

Open CMD and run: IISRESET to restart Application Pool

21

Oublie 0 ! 015 t •i 0

 

We can debug Service Task to check the data in new fields


No comments:

Post a Comment