如何使用Skype为业务sdk安排会议 [英] How to schedule a meeting using skype for business sdk

查看:96
本文介绍了如何使用Skype为业务sdk安排会议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要安排一个有过期时间,主题等的会议。我如何使用Skype为业务sdk实现这一目标。我在下面写了代码&b;





    //安排会议

        client.scheduleMeeting({



       subject:subject,

     ;    description:description,

       expirationTime:expirationTime

        
$


    })。then(功能(会议){

       

       alert(" Thank you!");  



       

       return client.startMeeting( {

         uri:meeting.onlineMeetingUri()

       });

      

       

     ; })。然后(功能(对话){

       

        //隐藏模式

       $(" .modal")。hide();

   ;   

       // get Meeting Uri

        $('#meetingUri')。val(conversation.meeting.uri());
$


       / /获取在线会议从网络加入时使用的会议JoinUrl。

       $('#joinUrl')。val(conversation.meeting) .joinUrl());
$


       //启动视频服务

   ;     videomeeting = conversation.videoService.start()。then(function(){



$
  ;     });





      



            

        });
$


$




拨打scheduleMeeting后,我不是能够获得meetingUri和joinUrl。那时,所有这些属性都是null。因此,当我在那个"那时"调用startMeeting时条款,它正在创建一个新的特别会议。但是有了Fidller,我检查了
并发现在线会员已经创建,但不知何故这些值是空的。 





知道怎么解决这个问题吗?





$
问候,



Himanshu

I need to schedule a meeting with expiration time, topic etc. How I can achieve this using skype for business sdk. I have written below code 



   //Schedule a Meeting
        client.scheduleMeeting({

            subject: subject,
            description: description,
            expirationTime: expirationTime
            

        }).then(function (meeting) {
           
            alert("Thank you!");   

            
            return client.startMeeting({
                uri: meeting.onlineMeetingUri()
            });
          
            
        }).then(function (conversation) {
            
            //Hide Modal
            $(".modal").hide();
        
            //get Meeting Uri
            $('#meetingUri').val(conversation.meeting.uri());

            //Get Meeting JoinUrl that is used when the online meeting is joined from the web.
            $('#joinUrl').val(conversation.meeting.joinUrl());

            //Start Video Service
            videomeeting = conversation.videoService.start().then(function () {


            });


      

            
        });




After calling scheduleMeeting, I am not able to get the meetingUri and joinUrl. At that time, all these properties are null. So when I am calling startMeeting on that "then" clause, it is creating a new adhoc meeting. But with Fidller I have checked and found that onlinemeeting is created but somehow those values are null. 



Any idea how to solve this?



With Regards,

Himanshu

推荐答案

我需要安排一个有过期时间,主题等的会议。我可以使用Skype为业务sdk实现这一目标。我在下面写了代码&b;





    //安排会议

        client.scheduleMeeting({



       subject:subject,

     ;    description:description,

       expirationTime:expirationTime

        
$


    })。then(功能(会议){

       

       alert(" Thank you!");  



       

       return client.startMeeting( {

         uri:meeting.onlineMeetingUri()

       });

      

       

     ; })。然后(功能(对话){

       

        //隐藏模式

      
I need to schedule a meeting with expiration time, topic etc. How I can achieve this using skype for business sdk. I have written below code 



   //Schedule a Meeting
        client.scheduleMeeting({

            subject: subject,
            description: description,
            expirationTime: expirationTime
            

        }).then(function (meeting) {
           
            alert("Thank you!");   

            
            return client.startMeeting({
                uri: meeting.onlineMeetingUri()
            });
          
            
        }).then(function (conversation) {
            
            //Hide Modal
           


(" .modal")。hide();

     

       // get Meeting Uri

      
(".modal").hide();
        
            //get Meeting Uri
           


('#meetingUri')。val(conversation.meeting.uri());



       //获取在线会议从网络加入时使用的会议JoinUrl。

    ;   
('#meetingUri').val(conversation.meeting.uri());

            //Get Meeting JoinUrl that is used when the online meeting is joined from the web.
           


这篇关于如何使用Skype为业务sdk安排会议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆