Get Lotus Notes Template name from NSF using C

70 pts.
Tags:
C
Lotus development
Lotus Notes 7.x
Lotus Notes template
NSF
Hey all, Is it possible to get the name of the template using the database (NSF) in C program? How? Please suggest.

Answer Wiki

Thanks. We'll let you know when a new response is added.

HI Pradip,

Instead of going for C APIs i will suggest to use Windows API to read ini files.
Since notes.ini is having information about the default template in a key

DefaultMailTemplate=mail7.ntf

So better if you read the ini and get the template name.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • SlikTool
    LotusScript offers the templatename property in a NotesDatabase object, so the API offers it as well. Not sure how or where off the top of my head, but that is the areas I would be looking in. Mike K
    1,840 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following