[WIP Guide] JSON to PDF to cloud storage

More
2 years 1 month ago #24163 by admin
It is very unusual JSON pair  "{{mobile}}": "09562312563".
It should be "mobile": "09562312563",
Is this coming from our software?  

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #24165 by prashant

It is very unusual JSON pair  "{{mobile}}": "09562312563".
It should be "mobile": "09562312563",
Is this coming from our software?  
No sadly that's how we configured it in gravity forms , it was to show the team usage of {{ }} variables. 

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago - 2 years 1 month ago #24191 by prashant
This is part I of the video here we 

1. Configure URL logger to receive webhook
2. Test with a script
3. Run command line to ensure our items are working

LOOM VIDEO
 

File Attachment:

File Name: codeforURLLOGGER.txt
File Size:1 KB

Running Via Command line
"C:\\Program Files\\DB Software Laboratory\\Advanced ETL Processor Enterprise\\aetlcl.exe" 7405 1a6db230-baab-434b-a598-ac8edba02021 MYAWESOMEPDF
Change 7405 -> Your Package ID
String 1a -> Your event_log ID

Team ETL , any feedback on this?
Last edit: 2 years 1 month ago by prashant.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #24194 by prashant
Part II
1. Loading Data in SQL 
2. Creating Report
3. Creating paramters
4. Loading report

LOOM VIDEO

chatgpt prompt
DECLARE @json NVarChar(max)
select top 1 @json=text_field_02 from event_log where id =:sqlparamater;

SELECT * FROM OpenJson(@json)
WITH (
  "mobile" VARCHAR(100) '$."{{mobile}}"',
  "candidate_ID" VARCHAR(100) '$."{{candidate_id}}"',
  "candidate_name" VARCHAR(100) '$."{{candidate_name}}"',
  "candidate_address" VARCHAR(100) '$."{{candidate_address}}"',      
  "candidate_position" VARCHAR(100) '$."{{candidate_position}}"',
  "candidate_ctc" VARCHAR(100) '$."{{candidate_ctc}}"',
  "join_date" VARCHAR(100) '$."{{join_date}}"',
  "join_company" VARCHAR(100) '$."{{join_company}}"',
  "company_address" VARCHAR(200) '$."{{company_address}}"',
  "company_logo" VARCHAR(100) '$."{{company_logo}}"',      
  "appointment_id" VARCHAR(100) '$."{{appointment_id}}"'
)

Using above references as a template , adapt above code to include following fields and give me the new SQL code. I am using SQL 2019 and above code works. Remove the fields not relevant and add the ones which are . 


 
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #24196 by admin
I must admit that your videos are much better than ours.  .

It is always good to see our customers succeed. 

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #24197 by admin
Can we ask to add URL logger and AETL link to the video comments 

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save