Open zhiyuli opened 5 years ago
hs.createReferencedFile(pid=resource_id, path='data/contents', name='landing_page.url', ref_url=base_url + page['landing_page'])
1) path='data/contents' should be default 2) file_id = hs.createReferencedFile() should return file_id if the creation is done, otherwise None or throws out an exception
hs.createReferencedFile(pid=resource_id, path='data/contents', name='landing_page.url', ref_url=base_url + page['landing_page'])
1) path='data/contents' should be default 2) file_id = hs.createReferencedFile() should return file_id if the creation is done, otherwise None or throws out an exception