Willie Sims
Posts: 0
Joined: Wed Jul 10, 2013 4:37 pm

Add Parameter, and new Column to Database

I forgot to add a column to my database and have already mapped out If I add the Parameter in the Service and Add it in the Collection how do I link the two? If I create a Automatic Response It will delete all my Mapping

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Add Parameter, and new Column to Database

You can always edit the service response manually.

Willie Sims
Posts: 0
Joined: Wed Jul 10, 2013 4:37 pm

Add Parameter, and new Column to Database

I'm sorry Max not sure I understand. Just to clarify I forgot to add a name column to my database, I have already added the database service and mapped all the fields out to my app it was then that I realized I forgot a column and so I opened the service added the customer_name then opened the database on the backend it wasn't there so I added it in the collection, So how would I link the two

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Add Parameter, and new Column to Database

You need to add the column in the database. The service is not "hard coded" to the database. You could have response parameters in the service for which there are no columns. It's not recommended, but possible.

Victor Fagerström
Posts: 0
Joined: Sun Dec 01, 2013 1:03 pm

Add Parameter, and new Column to Database

Just add the column in database, open the database service in you project, go to response or request tab whatever you need. On top of page is say "Enter new parameter name". Add the same name as the database column you created. click "Add". It shouldn't delete any mapping, just add the extra param that access the column from database. That's how it works for me, anyway.

Willie Sims
Posts: 0
Joined: Wed Jul 10, 2013 4:37 pm

Add Parameter, and new Column to Database

Thanks Vic, that was what I was wondering I matched names so we will see if it works

Return to “Issues”