How can I get the templates' headers using the C# toolkit?

Hello,

I wonder how can I get the templates' headers?(could they be "Content fields"?) using the .NET SDK.

image

From the web I can see them:

image

Thanks for advance, Maxi.

Best Answer

  • Hello @maximiliano-hernan.ruiz,

    Yes, you can get fields.

    "All Available":

    "Report Template Examples" => "Lookups: Get Available Fields"

    And fields per your created template:

    "Report Template Examples " => "Get: Content Fields"

Answers

  • Hello @maximiliano-hernan.ruiz,

    If I understand your question correctly, please review

    C# Example Application

    "Report Template Examples" => "Get All".

    You will have to page, one by one, via link, to get all the templates, as the example shows done once.

    If this is not it, please elaborate on what you are looking for, if possible, give an example.

  • Hi Zoya! thanks for the answer.

    Yes, I did that and I get all the templates what I have.

    What I need to get the fields name that you can see on the 2nd image.
    As you can see in the 1st image,there are some fields that I need to get when I call to: ReportTemplateOperations.GetAll (just I took one as an example,to explain it better). It's the same template in both pictures, but I don't know how can I get the fields from the 2nd image by code.

  • Thanks so much!. it worked.