Questions tagged [asset]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Why some standard fields on Asset object are not available in another org?

In one of my Developer Sandbox, I am able to use the following fields on Asset Object Uuid StatusReason ManufactureDate ExternalIdentifier While in another Sandbox(Partial Copy), I get the ...
0
votes
0answers
22 views

Asset Hierarchy Report

I know in Lightning you can see an account's Asset Hierarchy, but is there a way to recreate this in a report? The Parent/Child fields are not available in Asset reports.
0
votes
0answers
12 views

Is there a way to give Modify All access to Asset without giving Modify All Account access?

This is the scenario. Assets are being entered by a different profile (Profile A). But accounts are created by a separate profile (Profile B). Currently, the setup is that the Account, Contract and ...
0
votes
1answer
35 views

Can't create assets outside parent folder via Fuel SDK

I'm trying to create assets using the Marketing Cloud PHP Fuel SDK, and I'm running into a problem where the assets are being created (as in, I can retrieve a list of assets and see the assets I've ...
0
votes
0answers
31 views

How to provide Guest Community User the access for a specific file in asset library?

I have created a page in community with 2 variations : public page and private page. I have stored 5 pdf's in a library folder and have given access to Community Public Group. In the private page I am ...
0
votes
1answer
19 views

SOQL to get Assets with AccountId different from Parent.AccountId [duplicate]

I need to get all Assets X with X.ParentId != NULL, and the X.Parent.AccountId != X.AccountId. SELECT AccountId,Id,ParentId,Parent.AccountId,RecordTypeId,RootAssetId FROM Asset WHERE ParentId != NULL ...
0
votes
0answers
135 views

FIELD_INTEGRITY_EXCEPTION, Every asset needs an account, a contact, or both and field comparison

I have been trying to insert new assets to the asset table and use the serial_number to check if the asset already exist before inserting it to avoid duplicates. I'm at the point where I am trying to ...
0
votes
1answer
92 views

How to get URL for SLDS standard asset in Apex Code?

In Summer 17 Release (v.40) Salesforce provided a way to retrieve URL for item inside Static Resource within Apex which was very required feature and which was asked many times (like in this question)....
1
vote
1answer
30 views

Setting locationId in Asset

I am working on test class of trigger of Asset. I need to add location to the Asset object. Have created the test class like below: @isTest( seeAllData = false ) private class AssetTriggerTest { ...
0
votes
1answer
284 views

How do you write a test for a class that clones? [duplicate]

I have the following code that clones an asset and its' children... public class Cloner { public Asset root_asset { get; set; } public Asset cloned_root_asset {get; set; } public ...
0
votes
1answer
12 views

Changed File Asset & getting old version sometimes & new versions sometimes - cache has been cleared

I changed the image for a file asset. I am sometimes getting the old image and sometimes getting the new image when I use the same URL. It is as if Salesforce servers are out of sync. Does anyone ...
0
votes
2answers
1k views

Community Guest can see files in Asset Library

My Community Guest can see files in the Asset Library. How can I change this?
0
votes
1answer
162 views

Deleting an Asset file

I had an image in a rich text field in my Community. I was able to access the image file on the internet via the image's URL. I deleted the Asset File. However, it is still downloading when I ...
2
votes
1answer
448 views

What is the purpose of $ContentAsset provider? Why can't $Resource always be used?

What is the purpose of $ContentAsset provider? Why can't $Resource always be used? Is there any point of storing images, style sheets, and JavaScript in some other places rather than in ...
0
votes
1answer
156 views

Process Builder: How can I call another object while creating Work Order?

I'm trying to make the following happen. When creating a Work Order there are two fields that hold a master-relationship (Accounts & Assets). I want to create a process that allows me to call the ...
0
votes
1answer
369 views

Is it mandatory to have Assests/Images/CSS present in SFMC?

We are about to kickoff with ipwarming. we have emails ready, but the assets used in email creation are hosted on different server(not present in SFMC). Is this something I should worry about, and ...
2
votes
0answers
70 views

SLDS Assets global variable not working from Visualforce?

I'm blowing through some Trailheads and this bit is not working: <apex:page showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5....
0
votes
1answer
26 views

Different input fields dependent on Asset type

I'm working on a concept for asset management in Salesforce. The idea is Cars (type) Manufacturer (Audi, BMW, VW - Will most likely be an external lookup to CAP data) Model (A6) Derivative (1.8 ...
0
votes
1answer
616 views

Associating Asset records with Opportunity Product records

Our org has been storing serial numbers in an arbitrary text area field in the Opportunity Products object, delimited by arbitrary characters (commas, newlines, spaces, etc). This is very bad for a ...
1
vote
0answers
384 views

SFMC REST Api, create template based email

Im trying to create an email via REST API, based on an existing template. The only real documentation I can find is https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/...
2
votes
2answers
1k views

Automatically Linking Opportunity Product to Asset in Process Builder

I'm trying to create a process linking multiple Opportunity Products to an Asset, So that we can use it to know which products are part of what Asset. So far, this endeavour has multiple steps ...
2
votes
2answers
2k views

Products vs. Assets

I am designing an Opportunity Management solution for a company, where the company basically sells "Repo Homes". So the scenario is that I as a customer own a Home; I default on my mortgage. The Home ...
0
votes
1answer
36 views

Populate Standard Product Field from a Custom Lookup of Product Field

I'm having a custom Lookup of Product Field on Asset Object .I want that whenever i fill this Field ,it should populate the same with standard lookup of Product Field .Currently i'm using before ...
0
votes
3answers
727 views

Create Asset record from data on OrderItem and OpportunityLineItem records

Scenario: When an Opportunity is closed/won, we are creating an Order record with the corresponding OrderItem records based on the OpportunityLineItems of the Opportunity. When the OrderItems are ...
1
vote
2answers
128 views

Unable to retrieve Asset RecordType in APEX but in workbench

I am unable to retrieve Asset RecordTypes when I call following method in my apex code: Utils.getRecordTypeBySObjectType('Asset').get('Auto').Id It throws NullPointerException. It works for other ...
0
votes
1answer
56 views

How to import data in Asset Object from CSV without putting contact/Account field

I'm getting a daily CSV file. It contain the Customer Id(created on cotnact obj). Now I've to import the CSV file data in salesforce automatically. But to create a new record on Assest object we ...
1
vote
1answer
378 views

Query or delete assets when there's relationship with cases

Cases can be related to assets- there's a list of cases with an asset. But there's no relationship - both on case and asset there's no lookup or master field! Even more, when I change account related ...
2
votes
2answers
3k views

Asset Relationship Object

At my company we are trying to use the new Asset Relationship objects in relation to Asset. I have been trying to look for documentation on this new standard object but have not found any. I already ...
1
vote
1answer
91 views

How to Get a list of All Asset Types?

I need to get a list of all Asset Types. I know that the documentation has a list of all asset types, but I wonder if there is any API method that I can use to get this list?
0
votes
1answer
57 views

Process builder on asset not populating asset id in newly created case(immediate action)

I am firing a process builder on Asset. In immediate action I am creating a Case. Now I have a lookup from Case to Asset, I am stamping the AssetId on the Case Lookup field. But this is not being ...
6
votes
1answer
653 views

Automate Content Builder Asset Creation

Long time listener, first time caller. I have been trying to get some repetitive tasks automated in order to make some lives easier and I have run up against a bit of a wall. FuelSDK doesn't have any ...
0
votes
1answer
109 views

Getting error while creating an Asset through a Trigger

I am having a custom Object. And when i insert a record in that, i have to create an asset with the values Account,product and Serial Number from my Custom Object. I have wrote a trigger. But while ...
0
votes
1answer
221 views

Populate custom Leads fields to Assets fields on 'convert'

My company wants to gather the client's assets at the lead stage and automatically populate the assets page of the account once the lead gets converted. The same assets fields currently exist as ...
0
votes
3answers
71 views

please rectify error System.NullPointerException: Attempt to de-reference a null object Error is in expression '{!readUser}'

I need your help, I am a newbie in Salesforce. Requirement : Based on employee id need to display assets(like laptop mobile,computers provided by organisations to employees) issued to him by employer ...
1
vote
2answers
787 views

Insert Asset in Apex: Invalid Field ProductFamily on sObject Asset

my last Asset issue was self inflicted. This time, I have made sure I use the hightest API version (v37). Following Code has been tested in a Dev Org and in a Sandbox. asset a = new Asset ( ...
2
votes
1answer
540 views

Invalid Field RecordTypeId for sObject Asset (Known issue?)

We have created several RecordTypes for Assets. I am building a class to insert them. First I tried my usual approach: Asset myAsset = new Asset( Name = 'Test', ...
1
vote
1answer
217 views

Get currency from Asset object in Apex

How do I get the currency in which asset price is stored? Can I write something like asset.currency in Apex? I'm creating a package for org with multiple currencies, and I need to convert the asset ...
0
votes
1answer
428 views

Apex Trigger to create a contract from Asset

I am currently in the process of trying to get a trigger that will create a new contract each time an asset is created (within a certain product family) When our salesforce was setup our consultant ...
1
vote
1answer
403 views

Adding Assets to Custom Lightning Experience Navigation Menus

From the help docs here it states that... You can include these Salesforce objects in custom navigation menus: Accounts, Assets, Campaigns, Cases, Contacts, Files, Dashboards, Events, ...
2
votes
1answer
456 views

Create Asset hierarchy in single REST API call - Parent and child assets

I would like to create Asset hierachy with a single REST API call, providing root Asset and his child Assets (Documentation). I can't do this because it seems that Asset.ParentId field doesn't have ...
1
vote
1answer
212 views

How to find all Assets that are not referred by other Assets?

My situation is: Assume I am selling computers, so each computer has an Asset. Also, each computer has components like monitor, motherboard, cpu, etc. Each component has an Asset too, and they all ...
1
vote
1answer
19 views

Where to keep product information?

I use Salesforce to keep track of the customers my company has. We are a software vendor and we need to keep track of the software version our customers install. I can see how I can add an Asset ...
1
vote
1answer
711 views

Query Asset from case

I am trying to query for asset name from case and my query is: SELECT ID, accountId, account.assetId from case limit 10 but the above query is not working. Error: No such column 'assetId' on entity '...
0
votes
1answer
461 views

How do I set a Lookup field for an Asset name via a Visualforce page

I am creating a new Case via a VF page in a VF+Tabs Community (not using SFDC stylesheets) and want the user to be able to set the Asset Name to the Asset related to their new Case. The Asset Name is ...
-2
votes
2answers
2k views

VF page to create a New Case need code to add picklist of Asset Names from Users Account

We have a Visualforce page that is creating a New Case using a limited number of fields for the user to complete before submitting the Case. This page can only be accessed after the user logs in to ...
0
votes
1answer
61 views

What would be the best way to create a case for a product (through Asset or Contract or Product pick list or any other way)?

I have been working to create a case for a product which would create a service order in SAP. I knew there are ways to create a case record for a product using Assets and Contracts or using the ...
2
votes
1answer
318 views

Why can't I add a lookup filter on the product field on assets?

When I go to edit asset metadata I can bring up the (empty) list of lookup filters but I can't add one because there are no buttons to do so. Only some of our products should be selectable as assets (...