@JohnnyC It cannot be stored as password because in my case it has to be retrieved again , so i have to use some encryption alogorithm ,key to store and retrieve the values . And yes it can be called in server side also , but i have 2 buttons , one is submit button for that i am making call , and this is a normal button , for this i cannot write function in suitelet right ? @Vaid please correct me if it can be called