Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
753 views
in Technique[技术] by (71.8m points)

salesforce - Selecting only required fields while fetching data from PARDOT prospects using python

I am trying to fetch only required fields from the PARDOT prospects by giving the column names as an array via parameter "fields" as below but the result set I am getting is having only the first and the last column mentioned in the array.

required_fields = ["column1","column2","column3","column4"]
for offset_val in range(0, pardot_obj_dict['total_results'] - 1, 200):
        print("Current offset value is : "+str(offset_val))
        pardot_obj_dict = pardot_api_query_obj(type=obj_type, offset=offset_val, fields = required_fields, output = 'simple')

Is there any way using which I can get all the required fields.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...