App does not publish custom app for freshsales suite crm

We have installed our app. When we say Save and Test, Pop Up Opens With ?route=in_development Extension. But we cannot see our application on this screen.

App ID: 84801

Manifest:

{
  "platform-version": "2.3",
  "product": {
    "freshworks_crm": {
      "location": {
        "record_sidebar": {
          "url": "index.html",
          "icon": "icon.svg"
        }
      }
    }
  },
  "engines": {
    "node": "14.19.3",
    "fdk": "8.7.6"
  },
  "whitelisted-domains": ["https://sms.verimor.com.tr"]
}

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>SMS Gönder</title>
  <script src="https://static.freshdev.io/fdk/2.0/fdk.js"></script>
</head>

<body>
  <h3>SMS Gönder</h3>
  <textarea id="smsContent" placeholder="SMS Mesajınız..."></textarea>
  <button onclick="sendSMS()">Gönder</button>

  <script>
    function sendSMS() {
      const smsContent = document.getElementById('smsContent').value;
      if (!smsContent) return alert('Lütfen bir mesaj girin.');

      // Kişi bilgilerini al
      client.data.get('contact').then(function (data) {
        const phoneNumber = data.contact.phone || '';

        if (!phoneNumber) return alert('Telefon numarası bulunamadı.');

        // Backend'e SMS içeriğini ve telefon numarasını gönder
        client.request.invoke('sendSMSToVerimor', {
          phoneNumber: phoneNumber,
          message: smsContent
        }).then(function (data) {
          alert(data.response);
        }).catch(function (error) {
          alert('SMS gönderilirken bir hata oluştu.');
        });
      });
    }
  </script>
</body>

</html>```

exports = {
sendSMSToVerimor: function (args) {
const { phoneNumber, message } = args;
const apiKey = ‘<VERIMOR_API_KEY>’; // Verimor API anahtarınız
const apiSecret = ‘<VERIMOR_API_SECRET>’; // Verimor API şifreniz

const options = {
  method: 'POST',
  headers: {
    'Authorization': 'Basic ' + Buffer.from(apiKey + ':' + apiSecret).toString('base64'),
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    source_addr: '<SENDER_NUMBER>', // Gönderici numarası
    messages: [{
      msg: message,
      dest: phoneNumber
    }]
  }),
  url: 'https://sms.verimor.com.tr/v2/send.json'
};

return $request.post(options).then(function (response) {
  return { response: 'SMS başarıyla gönderildi.' };
}).catch(function (error) {
  return { response: 'SMS gönderilirken bir hata oluştu.' };
});

}
};

Hi @Healthis_Healthcare,

What is the app’s current status? If the app is ready for development, it will appear in the In development section in the app gallery for installation and testing.

There’s no placeholder available in the name “record_sidebar”. Can you please verify and use one of the available placeholders for your app from the documentation?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.