The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
darpan13
4 years agoContributor
Load Excel data into Custom Table Code - Failing
SOURCE: ONESTREAM CHAMPIONS
Hi Team,
I am facing a typical issue ( Error Msg 1) while uploading the data from an excel. where as the code for csv upload works fine. Refer the Code attached ...
darpan13
4 years agoContributor
MarcR
4 years agoContributor II
Hi Darpan,
the variable tbRangeContent is not a string and that is what the logmessage needs. you can simply add .tostring after the tbRangeContent in the brapi and it will convert its contents to a string and show to you in the error log.
- MarcR4 years agoContributor II
Hi Marc,
Point noted , it worked partially, it removed the error , but all the excel data records were not displayed in Error Message ( where we intend to log them )
Also 1 more question - is there any difference between the two functions mentioned in below screenshot ?
https://discourse-static.influitive.net/uploads/db_8467a788_7b9e_45b8_8b6c_d37e1967220d/original/1X/ba10023887f5d9100149c9980b3fb6af6840765c.jpegSave Range vs Load Excel.jpg783×71 15.2 KBi could see in both the cases data is being saved.
Regards
Darpan Bhansali
- darpan134 years agoContributor
Thanks Marc for the honest response
i will try to read some more documents and dig further into the same, will update here, if got a chance to find the difference.
Regards
Darpan
- ckattookaran4 years agoValued Contributor
I dont think there is a difference in operation. They both do the same thing. One does it by reading the fields from EXCEL, the other one you are providing the fields tokens. I’m in the process of creating a 3 part video series that explains how LoadCustomTableUsingDelimitedFile works.
Related Content
- 7 months ago
- 2 years ago