How to create a mapping of a url using C API

Help me Please.

I have a problem using the Lotus C API to update the configuration.

The purpose of the C program is to create a url mapping. I am able to create a note and then set few item text to indicate the mapping.

This mapping does not get into effect and more by default when I create a url through Admin client the following way the screen appears

Sundarp/hcltech

Domino Server [ link to current server]

URL->Redirect URL [ link  to mapping] 

But when I create the new note and the mapping the following way the screen appears

Sundarp/hcltech

unknown

URL->Redirect URL [ link  to mapping] 

Domino Server [ link to current server]

URL->Redirect URL [ link  to mapping] 

Desired output

Sundarp/hcltech

Domino Server [ link to current server]

URL->Redirect URL [ link  to mapping] 



URL->Redirect URL [ link  to mapping] 

The following are the inputs I use

Database name : names.nsf

View : Server\Web Configurations

Can you instruct me how to create the note and get the desired output.

If I use viewsumm.c that lists the view summary, here is the output

CATEGORY: SUNDARP/hcltech

SUNDARP/hcltech Redirection URL–>URL for (/MyHome1 → /servlet/ct_home)

Unknown * *

SUNDARP/hcltech Domino Server * *

SUNDARP/hcltech Redirection URL–>URL for (/myhome → /servlet/ct_home)

Unknown *

The only difference i spot is, an extra “*” in the first link.