I have created a new custom action as shown below in EngApp-Cust.fragment file as shown below:
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/d54b98eb-db7e-4042-bfc5-5840dc059110.png)
while implementing the action in both file .offline file and .plsvc file then only i am getting this below error.
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/dc6f545c-9f53-4129-97d6-6c790df5ec00.jpg)
And implemented the action in both .offline file and .plsvc file as shown below
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/49b845ea-6188-4a12-b989-2c3c00903bb8.png)
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/84202b11-80ff-4e4b-8551-f41b1a8f5299.png)
when i try to implement in only .offline file then it works fine without error.
but for my requirement i need to implement in both .offline file and .plsvc file.
Can you please suggest me how to go forward.