title: Custom asset is not visible in Asset Publisher portlet
body: <p>My custom asset is not visible in <code>Asset Publisher</code>. I created portlets and service layer according to <a href="https://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/generating-your-service-layer-liferay-portal-6-2-dev-guide-04-en" rel="nofollow noreferrer">this</a> guide. so I have <code>Location</code> model. After create or update <code>location</code> I update entry:</p>
  
  <pre><code>public void addLocation(ActionRequest request, ActionResponse response)
              throws Exception {
  
          Location location = _updateLocation(request);
          User user = PortalUtil.getUser(request);
              AssetEntryLocalServiceUtil.updateEntry(user.getUserId(),
                  PortalUtil.getScopeGroupId(request), Location.class.getName(),
                  location.getLocationId(), new long[0], new String[] { "mycat1",
                          "mucat2" });
          sendRedirect(request, response);
      }
  </code></pre>
  
  <p>AssetEntry is stored in database:</p>
  
  <pre><code>SELECT entryid, groupid, companyid, userid, username, createdate, modifieddate, 
         classnameid, classpk, classuuid, classtypeid, visible, startdate, 
         enddate, publishdate, expirationdate, mimetype, title, description, 
         summary, url, layoutuuid, height, width, priority, viewcount
    FROM assetentry order by createdate desc limit 1;
  </code></pre>
  
  <p>Result:</p>
  
  <p>left side of result
  <img src="https://i.stack.imgur.com/d46at.png" alt="left side of result">
  right side of result
  <img src="https://i.stack.imgur.com/yd07P.png" alt="right side of result"></p>
  
  <p>Why Asset Publisher not show my asset if asset exists in database?
  Maybe I should specify some layout because Asset Publisher don't know how to show my asset.</p>