You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@unomi.apache.org by João Correia <jo...@gmail.com> on 2019/12/09 20:20:19 UTC

Exporting Profiles?

Hi Unomiers,

Hi uploaded a configuration for exporting profiles using POST to
/cxs/exportConfiguration
.

How do I execute the export? Because I cant see the file on /tmp !.

Thanks
Joao

{
    "itemId": "exportProfiles",
    "itemType": "exportConfig",
    "scope": "xxxx",
    "name": "Export profiles",
    "description": "Exports profiles",
    "configType": "oneshot",
    "active": true,
    "properties": {
    "destination":
"file:///tmp/?fileName=profiles-export-${date:now:yyyyMMddHHmm}.csv&fileExist=Append)",
        "period": "2m30s",
        "segment": "",
        "mapping": {
            "0": "itemId",
            "1": "CompanyDomain"
        }
    },
    "columnSeparator": ",",
    "lineSeparator": "\\n",
    "multiValueSeparator": ";",
    "multiValueDelimiter": "[]"
}

--

*João Correia*

San Diego, CA
mobile: +1 (858) 284-6010
web: https://joaocorreia.io

Re: Exporting Profiles?

Posted by Serge Huber <sh...@jahia.com>.
Hi Joao,

Sorry I wanted to check some things before getting back to you but I'm
currently very busy with the JDK 11 support. Could you try to setup a
recurrent export to see if that works better? I'm not sure but it looks
like the oneshot is done a bit differently from looking at the code (so
this might be a documentation issue).

Regards,
  Serge...
Serge Huber
CTO & Co-Founder
T +41 22 361 3424
9 route des Jeunes | 1227 Acacias | Switzerland
jahia.com <http://www.jahia.com/>
SKYPE | LINKEDIN <https://www.linkedin.com/in/sergehuber> | TWITTER
<https://twitter.com/sergehuber> | VCARD
<http://www.jahia.com/vcard/HuberSerge.vcf>


> JOIN OUR COMMUNITY <http://www.jahia.com/> to evaluate, get trained and
to discover why Jahia is a leading User Experience Platform (UXP) for
Digital Transformation.


On Tue, Dec 17, 2019 at 11:18 PM João Correia <jo...@gmail.com>
wrote:

> Hi again,
>
> Does anyone have any tips on how to export profiles? I created the above
> configuration but I dont see the file. Im sure Im missing something here.
>
> Thanks
> Joao Correia
>
> --
>
> *João Correia*
>
> San Diego, CA
> mobile: +1 (858) 284-6010
> web: https://joaocorreia.io
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Mon, Dec 9, 2019 at 12:20 PM João Correia <jo...@gmail.com>
> wrote:
>
>> Hi Unomiers,
>>
>> Hi uploaded a configuration for exporting profiles using POST to /cxs/exportConfiguration
>> .
>>
>> How do I execute the export? Because I cant see the file on /tmp !.
>>
>> Thanks
>> Joao
>>
>> {
>>     "itemId": "exportProfiles",
>>     "itemType": "exportConfig",
>>     "scope": "xxxx",
>>     "name": "Export profiles",
>>     "description": "Exports profiles",
>>     "configType": "oneshot",
>>     "active": true,
>>     "properties": {
>>     "destination":
>> "file:///tmp/?fileName=profiles-export-${date:now:yyyyMMddHHmm}.csv&fileExist=Append)",
>>         "period": "2m30s",
>>         "segment": "",
>>         "mapping": {
>>             "0": "itemId",
>>             "1": "CompanyDomain"
>>         }
>>     },
>>     "columnSeparator": ",",
>>     "lineSeparator": "\\n",
>>     "multiValueSeparator": ";",
>>     "multiValueDelimiter": "[]"
>> }
>>
>> --
>>
>> *João Correia*
>>
>> San Diego, CA
>> mobile: +1 (858) 284-6010
>> web: https://joaocorreia.io
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>

Re: Exporting Profiles?

Posted by João Correia <jo...@gmail.com>.
Hi again,

Does anyone have any tips on how to export profiles? I created the above
configuration but I dont see the file. Im sure Im missing something here.

Thanks
Joao Correia

--

*João Correia*

San Diego, CA
mobile: +1 (858) 284-6010
web: https://joaocorreia.io













On Mon, Dec 9, 2019 at 12:20 PM João Correia <jo...@gmail.com> wrote:

> Hi Unomiers,
>
> Hi uploaded a configuration for exporting profiles using POST to /cxs/exportConfiguration
> .
>
> How do I execute the export? Because I cant see the file on /tmp !.
>
> Thanks
> Joao
>
> {
>     "itemId": "exportProfiles",
>     "itemType": "exportConfig",
>     "scope": "xxxx",
>     "name": "Export profiles",
>     "description": "Exports profiles",
>     "configType": "oneshot",
>     "active": true,
>     "properties": {
>     "destination":
> "file:///tmp/?fileName=profiles-export-${date:now:yyyyMMddHHmm}.csv&fileExist=Append)",
>         "period": "2m30s",
>         "segment": "",
>         "mapping": {
>             "0": "itemId",
>             "1": "CompanyDomain"
>         }
>     },
>     "columnSeparator": ",",
>     "lineSeparator": "\\n",
>     "multiValueSeparator": ";",
>     "multiValueDelimiter": "[]"
> }
>
> --
>
> *João Correia*
>
> San Diego, CA
> mobile: +1 (858) 284-6010
> web: https://joaocorreia.io
>
>
>
>
>
>
>
>
>
>
>
>