You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Daniel Baker <in...@collisiondetection.biz> on 2020/07/09 18:26:40 UTC

Re: cleanSlide WS doesn t delete the slide

Ahh  finally got  it  working .  It  is  0  / zero based .   We was  
using  slide 1   for  page  1 but  1  is  actually 0 .


Thanks,

Dan

On 3/24/2020 4:47 AM, Maxim Solodovnik wrote:
> Just have tested:
>
> 1) upload 3 document with 3 pages to the room
> 2) using pencil tool draw page number at each page
> 3) run
>
>     $.ajax({
>       method: "GET",
>       url:
>     "services/wb/cleanslide/132/0/1?sid=2c770f9e-933c-4c59-b498-9b1e156200c1",
>       data: {},
>       dataType: "json"
>     });
>
> Result: drawing at second page were removed
>
> On Mon, 23 Mar 2020 at 20:25, Daniel Baker 
> <info@collisiondetection.biz <ma...@collisiondetection.biz>> wrote:
>
>     I can not replicate  this behaviour.  Slides  are not being
>     cleaned,  nothing is being removed.
>
>
>
>     Thanks,
>
>
>     Dan
>
>     On 23/03/2020 04:07, Maxim Solodovnik wrote:
>>     Hello,
>>
>>     Function name is `cleanSlide`
>>     By design it works as follows: all drawings, images, videos,
>>     manually entered text etc. will be cleaned up from slide
>>     Slide itself will look exactly as when document was dropped to WB
>>
>>     Is it what you are observing?
>>
>>     On Fri, 20 Mar 2020 at 22:02, moodle dman <moodledman@gmail.com
>>     <ma...@gmail.com>> wrote:
>>
>>         Hi Guys,
>>         We are trying to use the delete slide web-service. We tried
>>         both SOAP and CURL, but the slide doesn't seem to be deleted
>>         even if we get SUCCESS back.
>>         Screenshot attached.
>>         Screenshot 2020-03-20 at 14.53.31.png
>>         Screenshot 2020-03-20 at 14.53.39.png
>>
>>         Screenshot 2020-03-20 at 14.54.10.png
>>         Did we miss something?
>>
>>         This version is Version : 5.0.0-M3
>>         Revision : b739f87
>>         Build : 2019-12-11T11:42:09Z
>>
>>         Thanks!
>>
>>
>>
>>     -- 
>>     WBR
>>     Maxim aka solomax
>
>
>
> -- 
> WBR
> Maxim aka solomax

Re: cleanSlide WS doesn t delete the slide

Posted by Maxim Solodovnik <so...@gmail.com>.
I glad you figured this out
This was obvious for me
And I was sure some examples were with 0 slide :(

(from mobile, sorry for typos)

On Fri, Jul 10, 2020, 01:27 Daniel Baker <in...@collisiondetection.biz>
wrote:

> Ahh  finally got  it  working .  It  is  0  / zero based .   We  was
> using  slide 1   for  page  1 but  1  is  actually 0 .
>
>
> Thanks,
>
> Dan
> On 3/24/2020 4:47 AM, Maxim Solodovnik wrote:
>
> Just have tested:
>
> 1) upload 3 document with 3 pages to the room
> 2) using pencil tool draw page number at each page
> 3) run
>
> $.ajax({
>   method: "GET",
>   url:
> "services/wb/cleanslide/132/0/1?sid=2c770f9e-933c-4c59-b498-9b1e156200c1",
>   data: {},
>   dataType: "json"
> });
>
> Result: drawing at second page were removed
>
> On Mon, 23 Mar 2020 at 20:25, Daniel Baker <in...@collisiondetection.biz>
> wrote:
>
>> I can not replicate  this behaviour.  Slides  are not being cleaned,
>> nothing is being removed.
>>
>>
>>
>> Thanks,
>>
>>
>> Dan
>> On 23/03/2020 04:07, Maxim Solodovnik wrote:
>>
>> Hello,
>>
>> Function name is `cleanSlide`
>> By design it works as follows: all drawings, images, videos, manually
>> entered text etc. will be cleaned up from slide
>> Slide itself will look exactly as when document was dropped to WB
>>
>> Is it what you are observing?
>>
>> On Fri, 20 Mar 2020 at 22:02, moodle dman <mo...@gmail.com> wrote:
>>
>>> Hi Guys,
>>> We are trying to use the delete slide web-service. We tried both SOAP
>>> and CURL, but the slide doesn't seem to be deleted even if we get SUCCESS
>>> back.
>>> Screenshot attached.
>>> [image: Screenshot 2020-03-20 at 14.53.31.png]
>>> [image: Screenshot 2020-03-20 at 14.53.39.png]
>>>
>>> [image: Screenshot 2020-03-20 at 14.54.10.png]
>>> Did we miss something?
>>>
>>> This version is Version : 5.0.0-M3
>>> Revision : b739f87
>>> Build : 2019-12-11T11:42:09Z
>>>
>>> Thanks!
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>
> --
> WBR
> Maxim aka solomax
>
>