You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Maxim Solodovnik <so...@gmail.com> on 2015/02/14 04:53:54 UTC

Re: 1) Have chat open as default for new OM rooms

you need to additionally call
http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/RoomWebService.html#modifyRoomParameter(java.lang.String,%20java.lang.Long,%20java.lang.String,%20java.lang.String)

with parameters: (SID, "chatOpened", "true")

On Sat, Feb 14, 2015 at 2:29 AM, Sam Naef <sa...@gmail.com> wrote:

> Hi Maxim and all,
>
> We've got two issues that would be incredible if anyone can help with
> (I'll send two mails.)
> My programmers have searched in api & forum and haven't found answers.
>
>
>
> 1) Have the chat section open initially for new OM whiteboard rooms
> We create new rooms via your invite links.
> Is there a parameter that opens up the chat by default?
>
> My programmers tried:
> dashboard.show.chat
> Boolean hideChat (within
> addRoomWithModerationQuestionsAudioTypeAndHideOptions)
>
> … but they didn't work
>
>
>
> Thanks!
> Sam




-- 
WBR
Maxim aka solomax

Re: 1) Have chat open as default for new OM rooms

Posted by Maxim Solodovnik <so...@gmail.com>.
should be fixed: https://issues.apache.org/jira/browse/OPENMEETINGS-1183

On Mon, Feb 23, 2015 at 9:53 PM, Sam Naef <sa...@gmail.com> wrote:

> Hi Maxim,
>
> I have a more in depth description from our programmers:
> I have used "chatOpened" with the value "true".
>
> request URL:
>
>
> http://om1.iskillu.samnaef.uk0.bigv.io:5080/openmeetings/services/RoomService/modifyRoomParameter?SID=bb8899171b3bf4bdd42fe861bb28bbe0&room_id=22&paramName=chatOpened&paramValue=true
>
> and the response is:
>
> <soapenv:Reason><soapenv:Text xml:lang="en-US">Failed to convert property
> value of type 'null' to required type 'boolean' for property 'chatOpened';
> nested exception is java.lang.IllegalArgumentException: Cannot convert
> value of type [null] to required type [boolean] for property 'chatOpened':
> PropertyEditor
> [org.springframework.beans.propertyeditors.CustomBooleanEditor] returned
> inappropriate value of type [null]</soapenv:Text></soapenv:Reason>
>
> I even tried with different param values like 1 and "1" etc. But no luck.
>
> So I changed the param name to "hideChat" with the value "true" which
> gives the following response:
>
> request URL:
>
>
> http://om1.iskillu.samnaef.uk0.bigv.io:5080/openmeetings/services/RoomService/modifyRoomParameter?SID=bb8899171b3bf4bdd42fe861bb28bbe0&room_id=22&paramName=hideChat&paramValue=true
>
> response is:
>
>
> <ns:modifyRoomParameterResponse><ns:return>1</ns:return></ns:modifyRoomParameterResponse>
>
>
> But the chat window is opened by default in our demo room only, and not in
> the other rooms which we are creating dynamically through REST service.
>
>
> Have you got an idea?
> Thanks,
> Sam & suresh
>
>
>
>
>
> On 23 Feb 2015, at 14:57, Maxim Solodovnik <so...@gmail.com> wrote:
>
> > not sure what do you mean by "*there is no reference in API **even If I
> > pass on the service, I got error*"
> > can you provide sequence of REST calls?
> >
> > On Mon, Feb 23, 2015 at 8:53 PM, Sam Naef <sa...@gmail.com> wrote:
> >
> >> Hi Maxim and all,
> >>
> >> My programmers tried finding parameter SID, "chatOpened", "true" to
> enable
> >> the chat to be open, but they couldn't find it
> >> they said:
> >> "there is no reference in API
> >> even If I pass on the service, I got error"
> >>
> >> This was for creating an OM room via invitation.
> >>
> >>
> >> For our demo room, (a static room), then SID, "hideChat", "true" works,
> >> but not for dynamic invite rooms.
> >>
> >>
> >> Have you any idea how to fix?
> >> Thanks,
> >> Sam
> >>
> >>
> >>
> >> On 14 Feb 2015, at 13:49, Sam Naef <sa...@gmail.com> wrote:
> >>
> >>> Great, thanks Maxim :)
> >>>
> >>>
> >>>
> >>>
> >>> On 14 Feb 2015, at 03:53, Maxim Solodovnik <so...@gmail.com>
> wrote:
> >>>
> >>>> you need to additionally call
> >>>>
> >>
> http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/RoomWebService.html#modifyRoomParameter(java.lang.String,%20java.lang.Long,%20java.lang.String,%20java.lang.String)
> >>>>
> >>>> with parameters: (SID, "chatOpened", "true")
> >>>>
> >>>> On Sat, Feb 14, 2015 at 2:29 AM, Sam Naef <sa...@gmail.com> wrote:
> >>>>
> >>>>> Hi Maxim and all,
> >>>>>
> >>>>> We've got two issues that would be incredible if anyone can help with
> >>>>> (I'll send two mails.)
> >>>>> My programmers have searched in api & forum and haven't found
> answers.
> >>>>>
> >>>>>
> >>>>>
> >>>>> 1) Have the chat section open initially for new OM whiteboard rooms
> >>>>> We create new rooms via your invite links.
> >>>>> Is there a parameter that opens up the chat by default?
> >>>>>
> >>>>> My programmers tried:
> >>>>> dashboard.show.chat
> >>>>> Boolean hideChat (within
> >>>>> addRoomWithModerationQuestionsAudioTypeAndHideOptions)
> >>>>>
> >>>>> … but they didn't work
> >>>>>
> >>>>>
> >>>>>
> >>>>> Thanks!
> >>>>> Sam
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> WBR
> >>>> Maxim aka solomax
> >>>
> >>
> >>
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Re: 1) Have chat open as default for new OM rooms

Posted by Sam Naef <sa...@gmail.com>.
Hi Maxim,

I have a more in depth description from our programmers:
I have used "chatOpened" with the value "true".

request URL:

http://om1.iskillu.samnaef.uk0.bigv.io:5080/openmeetings/services/RoomService/modifyRoomParameter?SID=bb8899171b3bf4bdd42fe861bb28bbe0&room_id=22&paramName=chatOpened&paramValue=true

and the response is:

<soapenv:Reason><soapenv:Text xml:lang="en-US">Failed to convert property value of type 'null' to required type 'boolean' for property 'chatOpened'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [null] to required type [boolean] for property 'chatOpened': PropertyEditor [org.springframework.beans.propertyeditors.CustomBooleanEditor] returned inappropriate value of type [null]</soapenv:Text></soapenv:Reason>

I even tried with different param values like 1 and "1" etc. But no luck.  

So I changed the param name to "hideChat" with the value "true" which gives the following response:

request URL:

http://om1.iskillu.samnaef.uk0.bigv.io:5080/openmeetings/services/RoomService/modifyRoomParameter?SID=bb8899171b3bf4bdd42fe861bb28bbe0&room_id=22&paramName=hideChat&paramValue=true

response is:

<ns:modifyRoomParameterResponse><ns:return>1</ns:return></ns:modifyRoomParameterResponse>


But the chat window is opened by default in our demo room only, and not in the other rooms which we are creating dynamically through REST service.


Have you got an idea?
Thanks,
Sam & suresh





On 23 Feb 2015, at 14:57, Maxim Solodovnik <so...@gmail.com> wrote:

> not sure what do you mean by "*there is no reference in API **even If I
> pass on the service, I got error*"
> can you provide sequence of REST calls?
> 
> On Mon, Feb 23, 2015 at 8:53 PM, Sam Naef <sa...@gmail.com> wrote:
> 
>> Hi Maxim and all,
>> 
>> My programmers tried finding parameter SID, "chatOpened", "true" to enable
>> the chat to be open, but they couldn't find it
>> they said:
>> "there is no reference in API
>> even If I pass on the service, I got error"
>> 
>> This was for creating an OM room via invitation.
>> 
>> 
>> For our demo room, (a static room), then SID, "hideChat", "true" works,
>> but not for dynamic invite rooms.
>> 
>> 
>> Have you any idea how to fix?
>> Thanks,
>> Sam
>> 
>> 
>> 
>> On 14 Feb 2015, at 13:49, Sam Naef <sa...@gmail.com> wrote:
>> 
>>> Great, thanks Maxim :)
>>> 
>>> 
>>> 
>>> 
>>> On 14 Feb 2015, at 03:53, Maxim Solodovnik <so...@gmail.com> wrote:
>>> 
>>>> you need to additionally call
>>>> 
>> http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/RoomWebService.html#modifyRoomParameter(java.lang.String,%20java.lang.Long,%20java.lang.String,%20java.lang.String)
>>>> 
>>>> with parameters: (SID, "chatOpened", "true")
>>>> 
>>>> On Sat, Feb 14, 2015 at 2:29 AM, Sam Naef <sa...@gmail.com> wrote:
>>>> 
>>>>> Hi Maxim and all,
>>>>> 
>>>>> We've got two issues that would be incredible if anyone can help with
>>>>> (I'll send two mails.)
>>>>> My programmers have searched in api & forum and haven't found answers.
>>>>> 
>>>>> 
>>>>> 
>>>>> 1) Have the chat section open initially for new OM whiteboard rooms
>>>>> We create new rooms via your invite links.
>>>>> Is there a parameter that opens up the chat by default?
>>>>> 
>>>>> My programmers tried:
>>>>> dashboard.show.chat
>>>>> Boolean hideChat (within
>>>>> addRoomWithModerationQuestionsAudioTypeAndHideOptions)
>>>>> 
>>>>> … but they didn't work
>>>>> 
>>>>> 
>>>>> 
>>>>> Thanks!
>>>>> Sam
>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>> 
>> 
>> 
> 
> 
> -- 
> WBR
> Maxim aka solomax


Re: 1) Have chat open as default for new OM rooms

Posted by Maxim Solodovnik <so...@gmail.com>.
not sure what do you mean by "*there is no reference in API **even If I
pass on the service, I got error*"
can you provide sequence of REST calls?

On Mon, Feb 23, 2015 at 8:53 PM, Sam Naef <sa...@gmail.com> wrote:

> Hi Maxim and all,
>
> My programmers tried finding parameter SID, "chatOpened", "true" to enable
> the chat to be open, but they couldn't find it
> they said:
> "there is no reference in API
> even If I pass on the service, I got error"
>
> This was for creating an OM room via invitation.
>
>
> For our demo room, (a static room), then SID, "hideChat", "true" works,
> but not for dynamic invite rooms.
>
>
> Have you any idea how to fix?
> Thanks,
> Sam
>
>
>
> On 14 Feb 2015, at 13:49, Sam Naef <sa...@gmail.com> wrote:
>
> > Great, thanks Maxim :)
> >
> >
> >
> >
> > On 14 Feb 2015, at 03:53, Maxim Solodovnik <so...@gmail.com> wrote:
> >
> >> you need to additionally call
> >>
> http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/RoomWebService.html#modifyRoomParameter(java.lang.String,%20java.lang.Long,%20java.lang.String,%20java.lang.String)
> >>
> >> with parameters: (SID, "chatOpened", "true")
> >>
> >> On Sat, Feb 14, 2015 at 2:29 AM, Sam Naef <sa...@gmail.com> wrote:
> >>
> >>> Hi Maxim and all,
> >>>
> >>> We've got two issues that would be incredible if anyone can help with
> >>> (I'll send two mails.)
> >>> My programmers have searched in api & forum and haven't found answers.
> >>>
> >>>
> >>>
> >>> 1) Have the chat section open initially for new OM whiteboard rooms
> >>> We create new rooms via your invite links.
> >>> Is there a parameter that opens up the chat by default?
> >>>
> >>> My programmers tried:
> >>> dashboard.show.chat
> >>> Boolean hideChat (within
> >>> addRoomWithModerationQuestionsAudioTypeAndHideOptions)
> >>>
> >>> … but they didn't work
> >>>
> >>>
> >>>
> >>> Thanks!
> >>> Sam
> >>
> >>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >
>
>


-- 
WBR
Maxim aka solomax

Re: 1) Have chat open as default for new OM rooms

Posted by Sam Naef <sa...@gmail.com>.
Hi Maxim and all,

My programmers tried finding parameter SID, "chatOpened", "true" to enable the chat to be open, but they couldn't find it
they said:
"there is no reference in API
even If I pass on the service, I got error"

This was for creating an OM room via invitation.


For our demo room, (a static room), then SID, "hideChat", "true" works, but not for dynamic invite rooms.


Have you any idea how to fix?
Thanks,
Sam



On 14 Feb 2015, at 13:49, Sam Naef <sa...@gmail.com> wrote:

> Great, thanks Maxim :)
> 
> 
> 
> 
> On 14 Feb 2015, at 03:53, Maxim Solodovnik <so...@gmail.com> wrote:
> 
>> you need to additionally call
>> http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/RoomWebService.html#modifyRoomParameter(java.lang.String,%20java.lang.Long,%20java.lang.String,%20java.lang.String)
>> 
>> with parameters: (SID, "chatOpened", "true")
>> 
>> On Sat, Feb 14, 2015 at 2:29 AM, Sam Naef <sa...@gmail.com> wrote:
>> 
>>> Hi Maxim and all,
>>> 
>>> We've got two issues that would be incredible if anyone can help with
>>> (I'll send two mails.)
>>> My programmers have searched in api & forum and haven't found answers.
>>> 
>>> 
>>> 
>>> 1) Have the chat section open initially for new OM whiteboard rooms
>>> We create new rooms via your invite links.
>>> Is there a parameter that opens up the chat by default?
>>> 
>>> My programmers tried:
>>> dashboard.show.chat
>>> Boolean hideChat (within
>>> addRoomWithModerationQuestionsAudioTypeAndHideOptions)
>>> 
>>> … but they didn't work
>>> 
>>> 
>>> 
>>> Thanks!
>>> Sam
>> 
>> 
>> 
>> 
>> -- 
>> WBR
>> Maxim aka solomax
> 


Re: 1) Have chat open as default for new OM rooms

Posted by Sam Naef <sa...@gmail.com>.
Great, thanks Maxim :)




On 14 Feb 2015, at 03:53, Maxim Solodovnik <so...@gmail.com> wrote:

> you need to additionally call
> http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/RoomWebService.html#modifyRoomParameter(java.lang.String,%20java.lang.Long,%20java.lang.String,%20java.lang.String)
> 
> with parameters: (SID, "chatOpened", "true")
> 
> On Sat, Feb 14, 2015 at 2:29 AM, Sam Naef <sa...@gmail.com> wrote:
> 
>> Hi Maxim and all,
>> 
>> We've got two issues that would be incredible if anyone can help with
>> (I'll send two mails.)
>> My programmers have searched in api & forum and haven't found answers.
>> 
>> 
>> 
>> 1) Have the chat section open initially for new OM whiteboard rooms
>> We create new rooms via your invite links.
>> Is there a parameter that opens up the chat by default?
>> 
>> My programmers tried:
>> dashboard.show.chat
>> Boolean hideChat (within
>> addRoomWithModerationQuestionsAudioTypeAndHideOptions)
>> 
>> … but they didn't work
>> 
>> 
>> 
>> Thanks!
>> Sam
> 
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax