Hi Kaushall, Multivalue pipe only role is to fork the flow for each value of the MV property, adding the value in the bindings. I think you should write to a temp property before moving it back So something like plumber.newPipe(resourceResolver) .echo("/etc/your/configuration/mvProperty") .mp().name("mvProp") .write("temp", "+[${mvProp}]") .run()
And then .echo("/etc/your/configuration/temp").mv("/etc/your/configuration/mvProperty").with("overwriteTarget", true).run() Hope this helps, Nicolas On 07/07/2020 21:19, "Kaushal Mall" <km...@adobe.com.INVALID> wrote: Hi All, I have a use case described below to update a particular multi value property and hoping someone can help me with the appropriate Sling Pipe configuration. There are certain nodes of type cq:PageContent with a property cq:cloudservices (string[]) where the value can be similar to /etc/cloudservices/mycloudconfig1/cloudconfig, /etc/cloudservices/mycloudconfig2/cloudconfig The pipe needs to find the nodes where this property is set and change the value and replace “/etc/cloudservices” part of the path with “/conf/global/settings” I am unsure how to write a multi value property using a pipe. I can get the appropriate nodes by using the xpath pipe and read the values using a multi value pipe (I think), but, not sure how to do string manipulation and write the values back. Does anyone know how to read and write the values for this use case? Thanks in advance. Kaushal Mall | Technical Architect | 480-512-2260 | https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblogs.adobe.com%2Fcontentmanagement&data=02%7C01%7Cnpeltier%40adobe.com%7C9fdffcbb3b1945fc627b08d822aa9b91%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637297463437931248&sdata=DgnAdqpmv0BaxJqeSJU2%2FfGTSa6sSTiYpEjaJQ75n9I%3D&reserved=0 Have you been impressed by an AEM Consulting resource? Please take a minute to let us know! Our new AEM Appreciate<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fforms.office.com%2FPages%2FResponsePage.aspx%3Fid%3DWht7-jR7h0OUrtLBeN7O4Wt4SlUkSKNJhPA9dqz9FkBUQVZNNDJONzhHTFREMTExQktPUFAwNDVFVC4u&data=02%7C01%7Cnpeltier%40adobe.com%7C9fdffcbb3b1945fc627b08d822aa9b91%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637297463437931248&sdata=PTEgJlZDem9NJpiCoAaOqyVGuzQtpK3ER8qv5%2FLE%2F3w%3D&reserved=0> program makes it quick and easy to provide your feedback and help us to recognize our top performers.