<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF Cloud shadow edit button disappeared.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108349/nrf-cloud-shadow-edit-button-disappeared</link><description>Hello, 
 I did some experimenting with the shadow in nrf_cloud_multi_service\shadow_support_coap.c in SDK v2.5.1 
 I edidded the shadow in the nRF cloud. That didn&amp;#39;t go as plan and couldn&amp;#39;t change the shadow back, so I deleted my device and onboarded</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Feb 2024 09:16:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108349/nrf-cloud-shadow-edit-button-disappeared" /><item><title>RE: nRF Cloud shadow edit button disappeared.</title><link>https://devzone.nordicsemi.com/thread/469174?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 09:16:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be0df4a-5452-45ef-b519-d39686a3d261</guid><dc:creator>Post1</dc:creator><description>&lt;p&gt;After some more thinking and trying to fix the problem, I found a solution for how to add or readd the view config button in nrf cloud.&lt;/p&gt;
&lt;p&gt;If the config:{} is in the shadow, the button reappears. So in v2.6.1&amp;nbsp;nrf_cloud_multi_service/shadow_support_coap.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Run these lines one time:&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;	struct nrf_cloud_data out_data = {0};
	out_data.ptr = &amp;quot;{\&amp;quot;config\&amp;quot;:{}}&amp;quot;;
	nrf_cloud_coap_shadow_state_update(out_data.ptr);&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt; and place them before:&lt;pre class="ui-code" data-mode="text"&gt;in_data.len = strlen(buf);
	if (!in_data.len) {
		LOG_INF(&amp;quot;Checking again in %d seconds&amp;quot;,
			CONFIG_COAP_SHADOW_CHECK_RATE_SECONDS);
		return -EAGAIN;
	}&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;After the button reappears, commend the lines out.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This will give the shadow in the cloud config:{} again and the button will reappear.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The nrf9160 feather doesn&amp;#39;t have the&amp;nbsp;config button in nrf cloud the above steps will also work.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>